[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: indenting output Q?

Subject: RE: indenting output Q?
From: Wolfgang Bogacz <wbogacz@xxxxxxxxxxx>
Date: Thu, 13 Dec 2001 09:09:57 -0500
output q
I think you may find help in the readme.html file with xalan.

Look for the section on Output properties.

-----Original Message-----
From: Joerg Heinicke [mailto:joerg.heinicke@xxxxxx]
Sent: Wednesday, December 12, 2001 3:58 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  indenting output Q?


XSL isn't the right thing for formatting the output-tree. The only simple
thing is Oleg's sugestion <xsl:output indent="yes"/>. Then the code looks
like the following:

<ADT_A01>
<MSH>
<MSH.1>|</MSH.1>
<MSH.2>~^\&amp;</MSH.2>

This is still not perfect but better than everything in one line.

The best maybe would be a formatting stylesheet and a
two-step-transformation.

Regards,

Joerg

----- Original Message -----
From: <Jakub.Valenta@xxxxxxxx>
To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, December 12, 2001 5:16 PM
Subject:  indenting output Q?


> Hi all,
> I would like to ask how to produce some good looking output with Xalan.
>
> my template is:
> <xsl:template match="event_name">
>           <ADT_A01>
>            <MSH>
>             <MSH.1>|</MSH.1>
>             <MSH.2>~^\&amp;</MSH.2>
>           ...
>
> but the result is:
>
> <ADT_A01><MSH><MSH.1>|</MSH.1><MSH.2>~^\&amp;</MSH.2> ...
>
> and I would like it to be:
>
> <ADT_A01>
>   <MSH>
>     <MSH.1>|</MSH.1>
>     <MSH.2>~^\&amp;</MSH.2>
>     ...
>
> any hints?
>
> br,
>
> Jakub


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

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.