[xsl] Applying a template on values in attributes ?

Subject: [xsl] Applying a template on values in attributes ?
From: Ahsan Ali <doubleletter@xxxxxxxxx>
Date: Wed, 3 Aug 2005 17:27:17 +0400
Hi,

I have an html element as follows:

<input type="hidden" value="{TotalAdultFare}" />

I want to apply a template to TotalAdultFare.

If I do this by <xsl:attribute
name="value"><xsl:call-template></xsl:call-template</xsl:attribute>
then the problem is that the output is as follows:

<input type="hidden" value="1000"></input>

I want to avoid this somehow.. any ideas ?

I'm using MSXML (XSL 1.0).

Thanks & Regards,

Ahsan

Current Thread