Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xsl] XSLT2.0 compatibility

From: "Houghton,Andrew" <houghtoa@-------->
To:
Date: 9/5/2006 6:13:00 PM
> From: David Carlisle [mailto:davidc@xxxxxxxxx]
> Sent: 05 September, 2006 14:06
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [xsl] 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.


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent