Re: [xsl] how to make "well-formated" xml file from xslt

Subject: Re: [xsl] how to make "well-formated" xml file from xslt
From: Brian Grainger <granam@xxxxxxxxxxxxx>
Date: Fri, 27 Feb 2004 16:56:01 -0700
On Fri, 27 Feb 2004 03:50:35 -0800 (PST), Ha Nguyen <hoangha2k3@xxxxxxxxx> wrote:

How to make it look like "normal" xml file ?

I set indent="no" on xsl:output so that the resulting xml looks like <Diagram><Graph><Node></Node></Graph></Diagram>.

Then if I want to see it nicely indented for whatever
reason I run it through HTMLTrim, which you can download
from http://sourceforge.net/projects/htmltrim.

Don't be fooled by the name; it works on HTML, XHTML, and
XML.

Regards,
Brian

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread