M
MBR
Problem with xerces and C++
Hi,
I try the sample from the xerces homepage
http://xml.apache.org/xerces-c/program-dom.html, take the iterator and
step through the tree:
for (DOMNode* pCurrent = iterator->nextNode();pCurrent != 0; pCurrent
= iterator->nextNode())
{
string strValue = XMLString::transcode(pCurrent->getNodeValue());
std::cout << strValue << std::endl;
(...)
}
I can retrieve the values from the tree. Now, how can I get the element
structure? How can I query the attribute?
Thanks,
Matthias
Hi,
I try the sample from the xerces homepage
http://xml.apache.org/xerces-c/program-dom.html, take the iterator and
step through the tree:
for (DOMNode* pCurrent = iterator->nextNode();pCurrent != 0; pCurrent
= iterator->nextNode())
{
string strValue = XMLString::transcode(pCurrent->getNodeValue());
std::cout << strValue << std::endl;
(...)
}
I can retrieve the values from the tree. Now, how can I get the element
structure? How can I query the attribute?
Thanks,
Matthias