I am currently working on two small projects, they both need to process data saved in XML format, but they have different requirements, here are the requirements for each project.
Project A: 1. Need to read from XML data in string format. 2. Need to be able to use XPath to query the value inside XML tree. Since Xerces does not support XPath directly, Xalan seems to be the right choice. Project B: 1. Need to read from XML data in string format. 2. Need to iterate through the DOM tree, also need to support clone a node, change the node name, and sometimes need to delete a node in the tree. Xerces seems to be the right choice for this case, Xalan has problem when I tried to use the cloneNode function for XalanNode (http://marc.theaimsgroup.com/?l=xalan-c-users&m=111220184005487&w=2). I also read from the mailing list that Xalan is not a right choice if I need to change the DOM tree. My question is: I do not want to use Xerces for one project and use Xalan for another project. Is that possible that any one of them can provide all the functions I need? Thank you, PingShan Li
