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

Re: Where did my tabs go? Trying to understand xsl:va

Subject: Re: Where did my tabs go? Trying to understand xsl:value-of, tabs and the separator attribute
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 17 Oct 2006 09:45:17 +0100
Re:  Where did my tabs go? Trying to understand  xsl:va
> My guess is that this also happens when using named predefined entity 
> reference

yes but there is no magic about the predefined entity references (apart
from the fact that they are predefined) the way they are expanded just
follows from their definition. 
http://www.w3.org/TR/xml11/#sec-predefined-ent
the definitions need to be equivalent to

<!ENTITY lt     "&#38;#60;">
<!ENTITY gt     "&#62;">
<!ENTITY amp    "&#38;#38;">
<!ENTITY apos   "&#39;">
<!ENTITY quot   "&#34;">

note how amp and lt  uses the double encoding trick that I suggested
that you use for tab specifically to ensure that they survive being used
in entity definitions without turning into markup.

David

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-2011 All Rights Reserved.