cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Heinicke <jheini...@virbus.de>
Subject Re: XML -> HTML : How to see its code beautiful indented ??
Date Tue, 22 May 2001 09:52:28 GMT
hi,

<xsl:output indent="yes"/> for CRs,
<xsl:strip-space> and <xsl:preserve-space> for the spaces.

more in the vbxml.com-xsl-reference:

http://www.vbxml.com/xsl/XSLTRef.asp

http://www.vbxml.com/xsl/examplewhitespace_stripping.asp

hope, this helps

joerg


Am Montag, 21. Mai 2001 09:53 schrieben Sie:
> Hello,
>
> I use a lot of xsp/xml files to generate html files..
>
> my problem is that the result is on a single line.. which is not really
> easy to read :o)
>
> what is the command in xsl to get the code nicely formatted ?? (with CR
> and TAB) ?
>
> thanx

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message