|
a/libupnpp/ixmlwrap.hxx |
|
b/libupnpp/ixmlwrap.hxx |
|
... |
|
... |
16 |
*/
|
16 |
*/
|
17 |
#ifndef _IXMLWRAP_H_INCLUDED_
|
17 |
#ifndef _IXMLWRAP_H_INCLUDED_
|
18 |
#define _IXMLWRAP_H_INCLUDED_
|
18 |
#define _IXMLWRAP_H_INCLUDED_
|
19 |
|
19 |
|
20 |
#include <string>
|
20 |
#include <string>
|
|
|
21 |
|
21 |
namespace ixmlwrap {
|
22 |
namespace ixmlwrap {
|
22 |
|
23 |
|
23 |
/** Retrieve the text content for the first element of given name.
|
24 |
/** Retrieve the text content for the first element of given name.
|
24 |
* Returns an empty string if the element does not contain a text node */
|
25 |
* Returns an empty string if the element does not contain a text node */
|
25 |
std::string getFirstElementValue(IXML_Document *doc, const string& name);
|
26 |
std::string getFirstElementValue(IXML_Document *doc, const string& name);
|
26 |
|
27 |
|
27 |
};
|
28 |
}
|
28 |
|
29 |
|
29 |
#endif /* _IXMLWRAP_H_INCLUDED_ */
|
30 |
#endif /* _IXMLWRAP_H_INCLUDED_ */
|
30 |
/* Local Variables: */
|
|
|
31 |
/* mode: c++ */
|
|
|
32 |
/* c-basic-offset: 4 */
|
|
|
33 |
/* tab-width: 4 */
|
|
|
34 |
/* indent-tabs-mode: t */
|
|
|
35 |
/* End: */
|
|
|