xsl-list
[Top] [All Lists]

Re: [xsl] XSLT 2.0 replace()

2008-09-02 09:25:10
So I can change the first &, but not the second.

                <xsl:value-of select="replace(@title, '&amp;lt;', '&lt;')"/>

You can pass a function as the argument of a function eg:

replace(replace(@title, '&amp;lt;', '&lt;'), '&amp;gt;', '&gt;')



-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

--~------------------------------------------------------------------
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>