Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: xerces/SAX xml search [Thread Next] Re: xerces/SAX xml searchTo: NULL Date: 5/2/2007 2:26:00 PM Joe Kesselman wrote: > foolproofplan@g... wrote: >> I am currently working on coding something in c++ which allows me to >> find locations (line/column) of certain elements and attributes within >> an xml file. > > OK, looking at this another time... You're almost certainly looking at > building your own SAX-based search, since you said you want line/column > information and most of the other APIs don't deliver that. (SAX may not > either, but you can at least try the SAXLocator API.) Why not just use Expat ? http://expat.sourceforge.net/ XML_GetCurrentLineNumber() and XML_GetCurrentColumnNumber() now return unsigned integers. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
