xsl-list
[Top] [All Lists]

Re: [xsl] Where did my tabs go? Trying to understand xsl:value-of, tabs and the separator attribute

2006-10-16 12:04:32


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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--