Re: cloneNode in extension functions

2008-03-09 Thread Raymond Auge
Hi Dave, I've used some simple workarounds to "make a copy" of a node. So, while not cloning the node per say, in my case a copy was "good enough". Perhaps it might be for you? Mind, this uses an exslt function (which xalan-j supports of course). e.g.: http://www.w3.org/1999/XSL/Transform";

Re: cloneNode in extension functions

2008-02-06 Thread keshlam
Internally, Xalan uses a read-only data model (the DTM), which is has a read-only DOM adapter layer wrapped around it when nodes are passed to extension functions. The cloneNode operation, because it creates a new node in the same Document as the original node, would break the read-only behavio

cloneNode in extension functions

2008-02-05 Thread Dave Brosius
Hi folks, I'm trying use cloneNode from a node retrieved from a extension function parameter, or alternatively creating a node from node.getOwnerDocument on the node that is the extension function parameter. I seem to be getting errors of the form SystemId Unknown; Line #8; Column #41; or