Subject: Re: [xsl] copy-of problem... From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx> Date: Mon, 14 Jul 2003 11:54:16 +0100 |
Hi Dave, > Given XML input of the form > > <description>HereâEUR$(1s (Ba Google search for a famous phrase, <a > href="http://www.google.com/search?q=to+be+or+not+to+be">to be or not to > be</a>; give it a try and see what happens. > ... </description> As usual, the easiest recourse here is to use DOE (this is what it's designed for): <xsl:template match="description"> <xsl:value-of select="." disable-output-escaping="yes" /> </xsl:template> Or complain to the feed until they give you XML rather than this hybrid. Or do a text-level pre-process that unescapes all the relevant characters in the <description> element, so that you can then process the content with XSLT. Cheers, Jeni --- Jeni Tennison http://www.jenitennison.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] copy-of problem..., David . Pawson | Thread | Re: [xsl] copy-of problem..., David Carlisle |
Re: [xsl] copy-of problem..., G. Ken Holman | Date | RE: [xsl] copy-of problem..., David . Pawson |
Month |