Subject: Re: [xsl] 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 |
> 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Where did my tabs go? Try, Abel Braaksma | Thread | Re: [xsl] Where did my tabs go? Try, Abel Braaksma |
Re: [xsl] Where did my tabs go? Try, Abel Braaksma | Date | RE: [xsl] [XSLT 2.0] Checking that , Michael Kay |
Month |