|
a/libupnpp/ixmlwrap.cxx |
|
b/libupnpp/ixmlwrap.cxx |
|
... |
|
... |
21 |
|
21 |
|
22 |
#include <upnp/ixml.h>
|
22 |
#include <upnp/ixml.h>
|
23 |
|
23 |
|
24 |
#include "libupnpp/ixmlwrap.hxx"
|
24 |
#include "libupnpp/ixmlwrap.hxx"
|
25 |
|
25 |
|
26 |
namespace ixmlwrap {
|
26 |
namespace UPnPP {
|
27 |
|
27 |
|
28 |
// Get the value for the first element in the document with the given name.
|
28 |
// Get the value for the first element in the document with the given name.
|
29 |
// There should be only one such element for this to make any sense.
|
29 |
// There should be only one such element for this to make any sense.
|
30 |
string getFirstElementValue(IXML_Document *doc, const string& name)
|
30 |
string getFirstElementValue(IXML_Document *doc, const string& name)
|
31 |
{
|
31 |
{
|