|
Subject: [xsl] param vs context for passing arguments From: Piotr Dobrogost <pd@xxxxxxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 16 Dec 2009 23:46:18 +0100 |
<xsl:template name="ReplaceHyphenWithUnderscore">
<xsl:analyze-string select="@name" regex="-">
<xsl:matching-substring>
<xsl:text>_</xsl:text>
</xsl:matching-substring>
<xsl:non-matching-substring>
<xsl:value-of select="."/>
</xsl:non-matching-substring>
</xsl:analyze-string>
</xsl:template><xsl:template match="xsd:element[<some condition here>]"> <xsl:call-template name="ReplaceHyphenWithUnderscore"/> (...) </xsl:template>
Regards Piotr Dobrogost
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Is there any XSLT debugge, Dimitre Novatchev | Thread | Re: [xsl] param vs context for pass, David Carlisle |
| [xsl] Re: problem with fn:contains , Piotr Dobrogost | Date | Re: [xsl] param vs context for pass, David Carlisle |
| Month |