Subject: RE: [xsl] Single quote once again (newby) From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx> Date: Wed, 20 Apr 2005 11:53:26 +0100 |
> In XSL I have this call to template: > <xsl:call-template name="str:subst"> > <xsl:with-param name="text" select="$row/column[@name = > $name]"/> > <xsl:with-param name="replace" select="'"/> > <xsl:with-param name="with" select="\'"/> > > </xsl:call-template> > > A string literal was not closed. -->'<-- [snip] > P.S. - Sorry if there's some mistakes, but I'm still in my > beginings in the XSLT World If you only need to do a single character replace then you can use the translate() function: <xsl:value-of select="translate($text, $replace, $with)"/> cheers andrew
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Single quote once again (, Jarno.Elovirta | Thread | [xsl] XSL-FO & Selecting Attributes, craig webber |
RE: [xsl] Single quote once again (, Jarno.Elovirta | Date | [xsl] XSL-FO & Selecting Attributes, craig webber |
Month |