This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: xsl:number - What is Numbering Context?
At 05:49 PM 6/24/2002, Eliot wrote:
> > 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.
*Very* subtle, and we're going to have to watch out for this when we get to
XSLT 2.0. A real gotcha.
Cheers,
Wendell
======================================================================
Wendell Piez mailto:wapiez@mulberrytech.com
Mulberry Technologies, Inc. http://www.mulberrytech.com
17 West Jefferson Street Direct Phone: 301/315-9635
Suite 207 Phone: 301/315-9631
Rockville, MD 20850 Fax: 301/315-8285
----------------------------------------------------------------------
Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list