Re: [xsl] [XSLT] Put element in new-line

Subject: Re: [xsl] [XSLT] Put element in new-line
From: Michael Ludwig <mlu@xxxxxxxxxxxxx>
Date: Thu, 06 Mar 2008 12:28:44 +0100
igutierrez027@xxxxxxxxxxxxx schrieb:
Hello everybody!

How I can do for put <xs:schema ....> in his next new-line and also
<xs:element name="newFile" type="xs:string"/> in his next new-line?

I don't know if this is what you mean, but if you want indenting you may try using the identity template with an indent="yes" as an attribute of the xsl:stylesheet element.

Or use a tool like xmllint: xmllint --format bla.xsd

Michael

Current Thread