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

RE: XSLT2.0 compatibility

Subject: RE: XSLT2.0 compatibility
From: "Houghton,Andrew" <houghtoa@xxxxxxxx>
Date: Tue, 5 Sep 2006 14:12:39 -0400
RE:  XSLT2.0 compatibility
> From: David Carlisle [mailto:davidc@xxxxxxxxx]
> Sent: 05 September, 2006 14:06
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  XSLT2.0 compatibility
>
>
> > In general it is quite good, but it doesn't give you control over
> > formatting.  For example, it outputs 3 spaces as an indent.
>  What if I
> > thought 2 spaces were adequate?  I cannot control it.
>
> xsl:output saxon:indent-spaces="2"

Yes, but that is specific to Saxon and is not a general XSLT 2.0
solution to the problem.  BTW, since I use Saxon for my XSLT 2.0
work, I do use this solution often for basic indented output ;)

However, many times I want the XML to be formatted in a specific
way so it is more readable to humans, rather than machines and
that requires additional newlines to be inserted into the XML at
specific locations.


Andy.

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.