xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] copy-of problem...


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, &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
Keywords
xml
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor