Subject: Re: [xsl] Using outer context node inside for-each From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Wed, 08 Jul 2009 13:42:59 -0400 |
Hi there,
Here is an abstraction of my problem template:
<xsl:template match="record"> <xsl:param name="show-fields" /> <xsl:variable name="this" select="." />
<xsl:for-each select="str:tokenize($show-fields)">
<xsl:message><xsl:value-of select="$this/field[@name=.]" /></xsl:message>
-- Possible July/August XSLT/XQuery/XSL-FO training in Oakland/CA/USA Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video Video lesson: http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18 Video overview: http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18 G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Using outer context node , Martin Honnen | Thread | [xsl] doc-available() URIs not foun, Mario Madunic |
Re: [xsl] Using outer context node , Martin Honnen | Date | RE: [xsl] Using outer context node , Michael Kay |
Month |