Subject: RE: URL rewriting with session id
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 27 Aug 2003 12:28:33 +0100
|
> <xsl:copy-of select="document(
> '../xml_inc/documentname.xml')/include/*"/>
>
> The problem is that these documents have hyperlinks embedded
> in them, but these of course do not have the session ID. How
> to do extend the xsl statement above to put in the session ID?
>
xsl:copy-of can only make an unmodified copy. If you need a modified
copy, then you need to recurse through the tree using
xsl:apply-templates. Use the identity template rule for most nodes, and
override it for the elements that define the hyperlinks.
Michael Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|