[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] Replace(//text()) in XSLT 1
Subject: [xsl] Replace(//text()) in XSLT 1 From: Nathan Tallman <ntallman@xxxxxxxxx> Date: Fri, 16 Nov 2012 12:01:36 -0500 |
I'd like to replace hyphens with en dashes. In XSLT 2.0, I can do this with replace(text()), but I'm limited to XSLT 1.0. How could I achieve the same thing in XSLT 1.0? <xsl:value-of select="replace(//text(), '-', '–')"/> Many thanks, Nathan
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] unparsed text, Ihe Onwuka | Thread | Re: [xsl] Replace(//text()) in XSLT, G. Ken Holman |
Re: [xsl] unparsed text, DaveP | Date | Re: [xsl] Replace(//text()) in XSLT, G. Ken Holman |
Month |
Keywords