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]

[newbie]   in xslt-file


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]