This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: xsl:number - What is Numbering Context?


>   <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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]