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

Subject: Re: [xsl] trying to drop leading/trailing WS text nodes from verb atim
From: "Robert P. J. Day" <rpjday@xxxxxxxxxxxxxx>
Date: Wed, 3 Sep 2003 10:24:23 -0400 (EDT)
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


Current Thread