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: Text output and whitespace


> When using output="text", what level of control do I have over the
> whitespacing?

You have total control, except possibly for the choice of LF or CRLF for
line endings. The only thing is, that exercising that control can be
difficult. The basic rule is that whitespace is only written to the output
file if you copy it there, either from the stylesheet or from the source
document: usually, the task is to prevent whitespace being copied when you
don't want it. The two useful tools are <xsl:strip-space elements="*"/> and
<xsl:text>

Mike Kay
Software AG


 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]