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 with some significant white space


What is <xsl:text/> used for?

MK p301: "The effect of this is that the extra newlines and spaces now 
belong to whitespace-only noes, which are stripped fromthe stylesheet
and ignored."

But I want to keep the spaces (noted with @) and newlines
(noted with\ !) and ignore the stylesheet indentation
(noted with *):

>**********<xsl:template match="foo">
>*************begin@<xsl:value-of select="name"/>@{!
>*************@@@<xsl:value-of select="body"/>!
>*************@@@}
>**********</xsl:template>

What am missing here?

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


 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]