Subject: RE: <xsl:output indent="yes"/>
From: "Bradley, Peter" <pbradley@xxxxxxxxxx>
Date: Mon, 6 Oct 2008 12:45:45 +0100
|
Thanks, Margaret, but no. The xsl:output element is as follows:
<xsl:output omit-xml-declaration="no" method="xml" version="1.0"
indent="yes"/>
Cheers
Peter
-----Original Message-----
From: Margaret Gruen-Kerr [mailto:margaret.gruen-kerr@xxxxxxxxxx]
Sent: 06 October 2008 12:39
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: <xsl:output indent="yes"/>
Could it be the that the "method" attribute is set to "text"?
Margaret
Margaret Gr|n-Kerr
QA Engineer
Altova GmbH
www.altova.com
This e-mail and any attachments are intended only for the person/entity to
which they are addressed and may contain confidential and/or privileged
material. If you received this in error, please notify the sender and delete
the message.
Altova GmbH, Firmenbuch: FN 50760 y, Sitz: Wien, DVR: 0692450, Handelsgericht:
Wien, Rechtsform: Ges.m.b.H., UID: ATU16136802.
-----Original Message-----
From: Bradley, Peter [mailto:pbradley@xxxxxxxxxx]
Sent: 06 October 2008 13:08
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Cc: Phillips, Glenn R.
Subject: RE: <xsl:output indent="yes"/>
>>sigh<<
Thanks. That answers the question. It's obviously a BizTalky thingy.
Annoying.
Peter
-----Original Message-----
From: Michael Kay [mailto:mike@xxxxxxxxxxxx]
Sent: 06 October 2008 12:04
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Cc: Phillips, Glenn R.
Subject: RE: <xsl:output indent="yes"/>
> ... we expected that this would give us an indented result tree as
> output. Instead we got an indented version of the result tree as
> though default templates had been applied (i.e. all metadata such as
> tags had been stripped out of the result).
>
> Is this the expected result?
No.
Can't think how setting indent="yes" could possibly cause this effect.
Michael Kay
http://www.saxonica.com/
|