The member function XercesParserLiaison::createDocument() disappeared because Xerces-C moved to a more standard way of creating Document instances, and I didn't think we needed the complexity in Xalan-C to deal with how it's done. In addition, we never supported modifying the new Xerces-C DOM through the XercesDocumentWrapper classes, so you always got a version of the Xerces-C deprecated DOM.
If you're trying to transform with a Xerces-C DOMDocument as a target, you can just create the DOMDocument instance and pass it into a FormatterToXercesDOM, which you can use to construct an XSLTResultTarget. There may be some issues with this, because I'm pretty sure constructing a DOMDocument instance also creates a document Element, which you may not want. If that's the case, you will need to manipulate the Document after the transformation, to get the result you really want.
Maybe I should clarify my objectives. I am trying to repair my Python <=> Xalan bindings for Xalan 1.8 (never pass up a chance to get your project's URL in an archive: http://pyana.sourceforge.net/)
I already have code to proxy Xalan DOM objects into Python (I need that for XPath extension functions). I am currently using the same DOM proxying code to proxy DOM transformation results. I'm using the Xerces DOM because it has a few methods (like getChildByName) that aren't implemented in the Xalan DOM. But I'm wrapping it in the XercesParserLiason so I can reuse my Xalan DOM code.
Now I'm looking for a way to do the same thing in Xalan 1.8. For now I don't mind giving up any of the extra functionality found in the Xerces DOM i.e. a pure Xalan DOM would be fine.
Cheers, Brian
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
