[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

<xsl:output indent="yes"/>

Subject: <xsl:output indent="yes"/>
From: "Bradley, Peter" <pbradley@xxxxxxxxxx>
Date: Mon, 6 Oct 2008 11:41:40 +0100
 <xsl:output indent="yes"/>
The transformation I'm working on produces a very large file (50Mb).
Loading this up into an XML editor (we use <oXygen/>) is a lengthy
process and rather error-prone because the editor sometimes makes some
bad decisions about where to put what I guess must be hard line breaks:
meaning that it sometimes cannot even format and indent the result.

This makes the file difficult if not impossible to work with.  So we
tried setting <xsl:output ... indent="yes"/>.  Since the Recommendation
says:

"If the indent attribute has the value yes, then the xml output method
may output whitespace in addition to the whitespace in the result tree
(possibly based on whitespace stripped from either the source document
or the stylesheet) in order to indent the result nicely"

... 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?  Or is it the result of something external
to xsl (e.g. using BizTalk to apply the transformation - which, I guess,
will use some version of MSXML).

Thanks


Peter

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.