Subject: Re: [xsl] in-document references From: S Woodside <sbwoodside@xxxxxxxxx> Date: Wed, 8 Jan 2003 13:21:47 -0500 |
You're making things much more difficult than they are. Perhaps you have
overlooked that a path expression can start with a variable reference:
<xsl:apply-templates select="define"> <xsl:with-param name="ref" select="ref"/> </xsl:apply-templates>
<xsl:template match="define"> <xsl:param name="ref"/> <xsl:value-of select="$ref/ancestor::foo/@bar"/> </xsl:template>
--- www.simonwoodside.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] in-document references, Michael Kay | Thread | Re: [xsl] in-document references, Jeni Tennison |
Re: [xsl] Max size?, Joseph Kesselman | Date | RE: [xsl] position() and last() pro, Michael Kay |
Month |