|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XSLT,Java, external function and set DTMDOMException
> I'm basically trying to write in Java a function that > returns a part of the nodes past to it (from XSLT) while > modifying (or replacing) one of these nodes. Don't do that. XSLT assumes that the input document is IMMUTABLE during the course of a tranformation, and some processors (Xalan among them) enforce that. If you want to return DOM nodes from your extension, construct new nodes using a read/write DOM implementation -- one is included with most XML parsers, so this shouldn't be a problem. ______________________________________ Joe Kesselman / IBM Research XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








