Subject: Re: [xsl] Replacing substring with value during transform From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 12 Sep 2012 17:42:16 +0100 |
. I'd like to be able to do something along the following lines in my stylesheet:
format('{#Add a new {0}#}',<xsl:value-of select='@n'/>)
Can anyone suggest how I could implement something like this?
<xsl:function name="f:format"> <xsl:param name="fmt"/> <xsl:param name="val"/> <xsl:value-of select="$fmt,$val"/> </xsl:function>
________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Replacing substring with valu, John English | Thread | Re: [xsl] Replacing substring with , Florent Georges |
[xsl] Replacing substring with valu, John English | Date | Re: [xsl] XSL-FO continued header o, G. Ken Holman |
Month |