[Home] [By Thread] [By Date] [Recent Entries]
This is an identity transformation, I think the indentation you get is
just because of the <xsl:output indent="yes" ... />, and I'm not sure
but I guess that default indentation 3 is made by the xslt processor you
use.
It might be possible with some <xsl:text/> elements to make what you want using XSLT but why not using an xml IDE to do it ? I'm thinking about jedit which has an xml plugin, you can indent with, in the general preferences you can also choose the indent width. Hope this help, Regards Le 03/08/2010 10:35, Ben Stover a icrit : I applied the following simple XSLT script onto a given XML doc which let me indent the tags according to their hierarchy level. -- Matthieu Ricaud IGS-CP Service Livre numirique
|

Cart



