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]

entities



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

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