[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
> 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
|
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
|