[newbie]   in xslt-file

Subject: [newbie]   in xslt-file
From: "Vincent De Baere" <vincent@xxxxxx>
Date: Wed, 1 Nov 2000 09:50:24 -0400 (EST)
Hi,

i'm having an xslt-file here:

[cut-'n-no-paste]
<xsl:template match="article/b2/tekst">
<tr><td>&nbsp;&nbsp;&nbsp;</td>
<td><xsl:value-of select="./@author"/></td>
<td>&nbsp;&nbsp;&nbsp;</td></tr>
</xsl:template>
[cut-'n-no-paste]

However, this does not work. The parser (msxml3.dll) gives an error ("the
stylesheet does not contain a document element. The stylesheet may be empty,
or it may not be a well-formed XML document"). The document appears to be OK
when i leave the &nbsp; out of it.

I tought the &nbsp; entity was predefined in xml. Does anyone know the
numeric form of that character, or does anyone has other ideas why this does
not work?

regards and thanks in advance for any answers and hints,

Vincent




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread