[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
> 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 ' 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 'John Doe'"/> > > If I use another escaped character such as & the output will be: > <QUERY where="NAME LIKE &John Doe&"/> > >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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|