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

RE: How do you prevent ' from being escaped withi

Subject: RE: How do you prevent ' from being escaped within an attribute value
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Mon, 6 Aug 2001 09:08:49 +0200
escaped character for html apos
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Jonathan
> Miller
> Sent: Sunday, August 05, 2001 10:21 PM
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  How do you prevent &apos; from being escaped within an
> attribute value
>
> ...
>
> ====================================
> Output:
> ====================================
> <QUERY where="NAME LIKE 'John Doe'"/>
>
>
> I have tried many different variations of the above example and I
> can't seem
> to achieve the desired output of:
> <QUERY where="NAME LIKE &apos;John Doe&apos;"/>
>
> If I use another escaped character such as &amp; the output will be:
> <QUERY where="NAME LIKE &amp;John Doe&amp;"/>
> >From the XML spec I gather this has something to do with the
> fact that it is
> an attribute.

Both are well-formed, both have the same character content (taken as XML).
Why do you care?


 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.