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

RE: String manipulations with quotes

Subject: RE: String manipulations with quotes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 11 Apr 2003 00:46:07 +0100
hex manipulations
> You may need to search for either the decimal entity or hex entity depending
> on a variety of mysterious (to me) factors.

No, numeric character references are not enetities.
Whether you use the hex or decimal form or just enter the character
directy doesn't make any difference to the XSLT system, as by the time
it sees it they are all just a single charactere. They are handled by
the XML parser before XSLT starts.

> You may need to find the hex or decimal equivalent for &quot;.

No. You can enter &quot; or " or &#34; and any XML application will not
be able to tell the difference. In particular XSLT can not distinguish
these. You only need to use &qot; (or equivalently &#34;) if you are
using " to surround attribute values and want a " in the value
<foo a="&quot;"/>
is just another way of writing
<foo a='"'/>
You would not be able to distinguish these using XSLT.

David

 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.