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: Avoiding long lines i n output of XSLT


> I am using Xalan-J for transformations. The output file 
> contains VERY long lines. Any method for limiting the length of the line?
Also 
> how does XSLT determine where to put a line break?

XSLT puts line breaks where you ask for them, unless you use <xsl:output
indent="yes">, when it can add them more freely.

To ask for a line break, use <xsl:text>&#xa;</xsl:text>

Mike Kay


 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]