|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] <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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








