xsl-list
[Top] [All Lists]

Re: [xsl] xsl:for-each with atomic values and nested xsl:apply-templates

2006-09-13 17:20:54
Thank you Michael, David and Jay for the (once again) quick replies.
Don't you ever sleep?

Jay Bryant wrote:

To fix it, use a variable that contains the root element (I call those
"anchor variables"), thus:

 <xsl:template match="src">
   <xsl:variable name="root" select="/"

I really love that name and concept of an "anchor variable" set to the
document root (not: root element) for a specific document.

Thanks again, 
Christian



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--