Re: xsl:number - What is Numbering Context?
Wendell Piez wrote: > > Eliot-- > > Ah, it's interesting you're able to apply templates to $target-element, > since it's not actually a node in your source, it's a result-tree-fragment. > (In XSLT 1.0 you shouldn't be able to do this.) > > Try setting your variable as > > <xsl:variable name="target-element" select="key('ids', $target-id)"/> > > to get it to be be, truly, the node in your source, and not a copy (which > loses the context). That was it--very subtle. Thanks, Eliot -- W. Eliot Kimber, eliot@xxxxxxxxxx Consultant, ISOGEN International 1016 La Posada Dr., Suite 240 Austin, TX 78752 Phone: 512.656.4139 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format