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]
Other format: [Raw text]

xsl:text


Hello people,

after seraching the archive and Mike Kay's book for over an hour, I feel
still at a loss. I try to hard-code one single whitespace, but it seems
imposiible. I tried <xsl:text> </xsl:text> as well as &#x20 or &#32; and
even concat (as seen below) but nothing works, not even in conjunction
I'm using MSXML Parser (v3.0 or 4.0) with XMLSpy as editor. The only time I
want to preserve those whitespaces is in all of my <xsl:text> elements, so I
tried <xsl:preserve-space>, but I thin kI'm usin it the wrong way.

I'll include an XSL snippet for you. Hope anybody can help

Thomas

-snip-
<xsl:template match="adlst">
    <xsl:text> -AD</xsl:text>
    <xsl:for-each select="adid">
        <xsl:text>&#32;</xsl:text>
        <xsl:value-of select="concat(' ', .)"/>
    </xsl:for-each>
</xsl:template>
-snip-



 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]