>> <xsl:apply-templates select="$value"/>
>>
>> Which doesn't work ....
>
>Try <xsl:apply-templates select="{$value}"/>


This wont work, you will need to use something like:

<xsl:choose>
  <xsl:when test="$value=something">
    <xsl:apply-templates select="whatever"/>
  </xsl:when>
  <xsl:when test="$value=somethingelse">
    <xsl:apply-templates select="whatever"/>
  </xsl:when>
  ...
</xsl:choose>

cheers
andrew



-----Original Message-----
From: Ralf Steppacher [mailto:[EMAIL PROTECTED]
Sent: 18 July 2002 09:35
To: [EMAIL PROTECTED]
Subject: Re: Parameters and the select attribute inside
xsl:apply-templates.


Hi Guy,

> <xsl:apply-templates select="$value"/>
 >
> Which doesn't work ....

Try <xsl:apply-templates select="{$value}"/>

See http://www.w3.org/TR/xslt#attribute-value-templates.


Cheers.
Ralf





---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.373 / Virus Database: 208 - Release Date: 01/07/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.373 / Virus Database: 208 - Release Date: 01/07/2002
 

Reply via email to