Subject: Re: stripping leading and trailing newlines from xml
From: Mike Brown <mike@xxxxxxxx>
Date: Thu, 8 Aug 2002 15:39:15 -0600 (MDT)
|
Aparna Konduri wrote:
> Hello Mike,
>
> Suppose xml is like
> -----------------------------------
> \n
> <xml>
> <tag1> x </tag>
> <tag2> y </tag>
> </xml>
> \n
> ------------------------------------
Oh, you really did mean leading and trailing, didn't you? :)
In this case, the parser should strip it before the XSLT processor even sees
it.. All you have to do is an identity transform, exactly as written in the
spec.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|