Subject: RE: Generic template for selection
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 6 Aug 2001 12:13:47 +0100
|
> Can someone please tell me how to write a generic template
> that can take two
> parameters $from and $to (both of which may be elements,
> attributes,textnodes,...) and copy the source tree from $from to $to.
XSLT can only write its output trees in "append mode". There is no way of
modifying an existing tree, or of adding a subtree to an existing node.
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|