This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Line break


Hi Meltem,

add a indent="yes" to the <xsl:output>.

<xsl:stylesheet ....>
    <xsl:output indent="yes"/>
    ....
</xsl:stylesheet>

Joerg

>  I am getting an XML like
> 
> <data><element><name>m</name></element></data>, everything in one line.
> 
> How can I write it like this
> <data>
> <element>
> <name>M</name>
> </element>
> </data>
> 
> with xsl? Every element on a separate line.
> 
> thanks
> 
> M


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]