Re: [xsl] formatting of identity transformation

Subject: Re: [xsl] formatting of identity transformation
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 03 Apr 2003 14:35:19 -0500
Mac,

Try putting

<xsl:output indent="yes"/>

at the top of your stylesheet (after any import statements).

This is an optional feature, so it may not work in your processor.

Alternatively, tweak your transform to insert literal line breaks. Not really a very nice solution (you run the risk of altering your data if you're not careful), but hey.

Cheers,
Wendell

At 01:59 PM 4/3/2003, you wrote:
 I am doing a modified identity transformation from 1 xml doc to
another. But, in the resulting xml file, everything seems to basically
be on one long running line. How do I create line breaks in the xml doc
I am writing?


======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


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



Current Thread