|
Hello, The problem is that I am using the document for multiple finds and multiple changes all the time. If I will need to re-wrap after each change, the performance will be terrible. Maybe the solution will be to stay with MS-XML4 and write a wrapper for xml-security? What do you think? Thanks, Reuven Berin Lautenbach wrote: Yes - if you want XPath you need to use the Xalan library. The Xalan DOM cab be a wrapper around the Xerces DOM - which means you can use XPath to find what you want in the DOM and then map the Xalan node back to a Xerces node that allows you to then change the DOM. (At that point you need to re-wrap the Xalan DOM, but generally it's passed its use by then anyway).There are some examples in the Xalan site, and there is some code in the xml-security library that calls on Xalan for some of the transformations that might provide some pointers as well. Have a look at the txfmxpath.cpp file. Cheers, Berin Reuven Nisser wrote: |
- Using XERCES with XPath support Reuven Nisser
- Re: Using XERCES with XPath support Berin Lautenbach
- Re: Using XERCES with XPath support Reuven Nisser
- RE: Using XERCES with XPath support Jesse Pelton
