[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XSLT,Java, external function and set DTMDOMException

Subject: XSLT,Java, external function and set DTMDOMException
From: Joseph Kesselman <keshlam@xxxxxxxxxx>
Date: Fri, 16 Aug 2002 08:49:28 -0400
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.