xsl-list
[Top] [All Lists]

Re: trying to drop leading/trailing WS text nodes from verb atim

2003-09-03 07:24:23
On Wed, 3 Sep 2003, David Carlisle wrote:


but the code you're referring to is for removing *leading* linefeeds
from the left, so that normalization won't have any effect, will it?

yes, any literal control-m character or literal control-j control-m pair
is effectively replaced by a single control-j _before_ XML parsing
happens. this is mandated by the XML spec.

and the normalization you're talking
about is only for the end of lines, no?

yes but where end-of-line is by definition any literal control-m
character or literal control-j control-m pair occuring anywher in the
file.

ah, gotcha.  

rday


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list