This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xsl:number - What is Numbering Context?
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 25 Apr 2002 08:40:01 +0100
- Subject: RE: [xsl] xsl:number - What is Numbering Context?
- Reply-to: xsl-list at lists dot mulberrytech dot com
> <xsl:variable name="target-element">
> <xsl:copy-of select="key('ids', $target-id)"/>
> </xsl:variable>
> <xsl:apply-templates select="$target-element" mode="xref"/>
You are not numbering the original node, you are numbering the copy of the
node within the result tree fragment held in $target-element.
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list