xsl-list
[Top] [All Lists]

Re: formatting of identity transformation

2003-04-03 12:35:19
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(_at_)mulberrytech(_dot_)com
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