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.
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