Lewis G. Pringle, Jr. wrote:
I’m using Xerces-C 2.7.0, and Xalan-C 1.10.0.

I have a source document and an XSLT script already parsed as Xerces DOMDocument objects, and I wish to do a simple transform () (like the msxml transformNode() call).

My code reads something like this (note – all xerces/Xalan inits done elsewhere):


...


XSLTInputSource xmlIn(parserLiason.createDocument (llSrcDoc));

This is a legacy option with an InputSource to use a generic DOM node. Instead, you can use XercesDOMWrapperParsedSource:

XercesDOMWrapperParsedSource xmlIn(llSrcDoc, parserLiaison, domSupport);

Dave

Reply via email to