entities

Subject: entities
From: "Dave Pawson" <dave.pawson@xxxxxxxxxx>
Date: Tue, 18 Apr 2000 18:18:24 +0100
setup is xt, using document() function.
main xml file has

<!DOCUMENT doc [
<!ENTITY  eacute	"&#x00E9;"><!--	# LATIN SMALL LETTER E WITH ACUTE -->
]>
<doc>

   <file>xslcharacters.xml</file>
</doc>

I access x.xml via

  <xsl:template match="doc">
    <html><head><body>
	<para>
	
      <xsl:for-each select="file">
	  <xsl:value-of select="document(.)/webpage/head/title"/>
      </xsl:for-each>
  etc.

xt is complaining because I haven't got eacute defined.
file:/xslcharacters.xml:393: reference to undefined entity "eacute" 

I have tried including
entity definition within the xsl file used,

What am I doing wrong please?

regards DaveP





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


Current Thread