AW: [xslt] question about single quote



The problem is solved. You have to do this:

<xsl:call-template name="replace-string">
	<xsl:with-param name="text" select="normalize-space(/doc)"/>
	<xsl:with-param name="replace" select="&quot;&apos;&quot;"/>
	<xsl:with-param name="with" select="&quot;..replace
string..&quot;"/>
</xsl:call-template>


> This function works fine with all Chars except the ' (&apos;). When I
do
> a 
>
> <xsl:call-template name="replace-string">
>	<xsl:with-param name="text" select="normalize-space(/doc)"/>
>	<xsl:with-param name="replace" select="'&apos;'"/>
>	<xsl:with-param name="with" select="'&quot;'"/>
> </xsl:call-template>


Regards,
Oliver Feige






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]