Re: Sample code to traverse minimal XML tree

2011-01-04 Thread Alberto Massari
Hi Ramon, if you already tried XPath, you can use it also with Xerces 3.x XercesDOMParser parser; parser.parse("c:\\simple-sample.xml"); DOMDocument *document = parser.getDocument(); XMLCh xpathStr[100]; XMLString::transcode("/line-segments/vertical/dista

Sample code to traverse minimal XML tree

2011-01-02 Thread Ramon F Herrera
Greetings and Happy New Year to all, This is my second attempt to learn and embrace Xerces-C, I hope it will be a successful one this time. It is a New Year resolution. ;-) Some time ago I incorporated Xerces into my applications, but the code I wrote seemed a very complex way to achieve sim