Hi All,
I have the following xml...
<my-values name "value 1">
<value>http://127.0.0.1:9955</value>
</my-values>
Now I can read all the attributes of my-values using getAttributes().
Then I can get a DOMElement to value too. But I am unable to get the
value of value which should be "http://127.0.0.1:9955" I have trying
to do it for last 4 hrs, and is unable to do it. Anyhelp would be
greately appreiciated.
I also tryied the following..=
XERCES_CPP_NAMESPACE_QUALIFIER DOMElement* elm1 = (element pointing to va=
lue)
XERCES_CPP_NAMESPACE_QUALIFIER DOMAttr *valueAttr =
elm1->getAttributeNode(XERCES_CPP_NAMESPACE_QUALIFIER
XMLString::transcode("value"));
But valueAttr is always null... Any reason why?
Thanks a ton in advance...
--
Thanks
/dev/dp