|
Sami Islam wrote: on the xalan FAQ web page they say that if u wanna modifiy a DOM document you should use Xerces instead of Xalan: "In cases where you want to modify the DOM document on the fly, you should use the Xerces DOM as the base document. You can wrap the Xerces DOM in a wrapper (see passing in a Xerces DOM) to then use as an input to a Xalan transformation. Alternatively you can output the result of a transformation to a Xerces DOM document (see working with DOM input and output). In either case, the Xerces document can be freely modified. However, after you modify the document, you need to re-build the wrapper so that any changes are replicated in the Xalan wrappers." the sample XPathWrapper.cpp that is provided in the Xalan project show how to use this wrapper. Nevertheless the error that you are getting doesn't seem to be related to the setNodeValue call. In which statment is the exception triggered ? --------------------------------------- Francesc Guim Bernat http://francesc.guim.net -- Francesc
|
- How to set Node Value? Sami Islam
- AW: How to set Node Value? Francesc Guim Bernat
- AW: How to set Node Value? Sami Islam
- Re: AW: How to set Node Value? Francesc Guim Bernat
- Re: AW: How to set Node Value? david_n_bertoni
