[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: copy-of problem...

Subject: Re: copy-of problem...
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Mon, 14 Jul 2003 11:54:16 +0100
the jeni jeni
Hi Dave,

> Given XML input of the form
>
> <description>HereâEUR$(1s (Ba Google search for a famous phrase, &lt;a
> href="http://www.google.com/search?q=to+be+or+not+to+be">to be or not to
> be&lt;/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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.