[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: Mon, 16 Oct 2006 20:03:58 +0100
Re:  Where did my tabs go? Trying to understand  xsl:va
> why can't I use the following to the same success?

now I have a moral dilemma, do I answer "it's obvious that won't work"
or do I answer "that's what I tried in my first draft reply"... hmmmmm 

essentialy the reason is that amp is _defined_ to be already double
quoted, precisely so that use of amp survives this entity expansion
still as a quoted character that is nt taken as markup, but
Basically this is an edge case where intuition or simplifications like
"entities expanded first" don't really help. The xml spec specifies a
particular algorithm for normalising attribute values, and how it
interacts with character and entity reference. Most of the time it just
does "the obvious thing" but sometimes like here there's no avoiding
just stepping through the algorithm and seeing what happens. (Or as I
just did in fact use a parser like rxp and trust that Richard read the
specified algorithm carefully.

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