[xsl] XSL & Doctype Declerations

Subject: [xsl] XSL & Doctype Declerations
From: "Karl Stubsjoen" <karl@xxxxxxxxxxxxx>
Date: Wed, 19 Feb 2003 08:05:52 -0700

I am having troubles with a DOCTYPE entity decleration in my XSL file.  I'm
not confident in my XSL skills to know what exactly I'm doing wrong.
Basically, I need to create an entity for the html code "&nbsp;" so that I
can use this in my xsl transformation.
I have got this to work before, but in this latter example I have needed to
call out the various ADO namespaces, since the origin of my XML is a
persited ADO recordset, and this (more complicated) version doesn't work
with my DOCTYPE entity.

Here is the xsl:stylesheet and DOCTYPE decleration I thought would work but
does not:

<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp "&#160;">
<xsl:stylesheet version="1.0"
<xsl:output method="html"/>

I appreciate the help!


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

Current Thread