Subject: RE: Matching attributes that contain both &pos; and " From: Kay Michael <Michael.Kay@xxxxxxx> Date: Mon, 11 Sep 2000 10:15:50 +0100 |
> what is the reason why > variables are not allowed inside a match? To prevent circularity. Consider: <xsl:variable name="preferred"> <xsl:call-templates select="get-preferred"/> </xsl:variable> <xsl:template name="get-preferred"> <xsl:apply-templates select="//item" mode="get"/> </xsl:template> <xsl:template match="item[$preferred]" mode="get"> <xsl:value-of select="."/> </xsl:template> Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Matching attributes that contai, Joe English | Thread | RE: Matching attributes that contai, Matthew Bentley |
RE: XSLT V 1.1, Thorbjorn Ravn Ander | Date | RE: Special characters turn out as , Kay Michael |
Month |