This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Indent extension in Saxon?
- To: "Gustaf Liljegren" <gustaf dot liljegren at xml dot se>
- Subject: Re: [xsl] Indent extension in Saxon?
- From: Jeni Tennison <mail at jenitennison dot com>
- Date: Fri, 8 Jun 2001 17:32:23 +0100
- CC: "XSL List" <xsl-list at lists dot mulberrytech dot com>
- Organization: Jeni Tennison Consulting Ltd
- References: <000c01c0f024$7bb544e0$fdc7a3c3@gustaf>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi Gustaf,
> Could it be an extension that is planned but not yet implemented?
Saxon offers a saxon:indent-spaces extension attribute to allow you to
control this. For example, you can do:
<xsl:output indent="yes" saxon:indent-spaces="2" />
to force it to use two spaces when it serialises the result.
The Saxon documentation is pretty good at describing what extensions
are or aren't available. The most recent documentation is at
http://users.iclway.co.uk/mhkay/saxon/saxon6.3/extensions.html.
I hope that helps,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list