xsl-list
[Top] [All Lists]

[xsl] translate apos in string

2007-01-16 04:13:06
I'm trying to get rid of the ' and the line feeds in my string but can't get it to work.

That's what I have so far:

<xsl:value-of select="
translate(translate(/node,'&#xA;',''),'&apos;', '&apos;')"/>


The first translation of line feeds works just fine, but I can't get rid of the apostrophe. The parser gives me an error because of the &apos. I tried different stuff but couldn't get the proper solution.

Anyone got a hint there?

Thanks
Jimmy

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>