Re: [xslt] Indentation with <xsl:output method="xml" indent="yes"/>
- From: Vincent Lefevre <vincent+gnome vinc17 org>
- To: xslt gnome org
- Subject: Re: [xslt] Indentation with <xsl:output method="xml" indent="yes"/>
- Date: Mon, 14 Feb 2005 18:41:04 +0100
On 2005-02-14 11:59:19 -0500, Daniel Veillard wrote:
> On Mon, Feb 14, 2005 at 02:35:01PM +0100, Vincent Lefevre wrote:
> > I wonder why I don't get the same form as with xmllint --format:
>
> because the serialization code is extremely cautious about
> the formatting option and tend to just stop it if there is any
> text node left as a sibling, while those text nodes are stripped
> out on input with xmllint --format.
This is OK for me, but is it required by the XSLT specification?
For instance, Sablotron and Xalan don't have the same behavior.
--
Vincent Lefèvre <vincent vinc17 org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]