|
Subject: [xsl] xsl:text From: "Thomas Holz" <thomas.holz@xxxxxxxxxx> Date: Fri, 25 Jan 2002 15:04:07 +0100 |
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   or   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> </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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] stylesheet vs egrep, Trevor Nash | Thread | RE: [xsl] xsl:text, Bryan Rasmussen |
| RE: [xsl] Arabic characters and FOP, G. Ken Holman | Date | Re: [xsl] stylesheet vs egrep, Ahmad J Reeves |
| Month |