xsl-list
[Top] [All Lists]

Re: [xsl] change number of indent blanks from default=3 to 2 ?

2010-08-03 05:17:56
Ben Stover wrote:
I applied the following simple XSLT script onto a given XML doc which let me 
indent the tags according to their hierarchy level.

The number of blanks used for each level is by default 3.
How can I change this to 2

Such things depends on the XSLT processor you use, Saxon 9.2 has a serialization option
http://www.saxonica.com/documentation/extensions/output-extras/indent-spaces.html
http://www.saxonica.com/documentation/extensions/output-extras.html
that allows you to set the number of spaces.

--

        Martin Honnen
        http://msmvps.com/blogs/martin_honnen/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--