[EMAIL PROTECTED] wrote:
I'd like to show an example of selecting a DOM node using an XPath
expression and then removing that node from the document.
The trick is ....
If it seems complicated, it's meant to be. Much of the XPath and XSLT
code assumes the underlying source tree will never be modified, so
providing a way to wrap the Xerces DOM and allow manipulating it is not
core functionality and can open up some dangerous holes. Proceed with
caution...
Thanks for the quick reply.
My intended audience is people who have used XML in other languages and want to
do the same in C++. I'm definitely going to recommend Xalan for XSLT, but I
think it's clear from your explanation above that Xalana is not the right tool
for somone who wants to use XPath to manipulate a DOM document.
Pathan looks pretty good, but it hasn't had any releases in about a year. What
do you know about it?
Dave
Jonathan