entity problems

Subject: entity problems
From: "Richard Lander" <rlander@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 27 Jan 1999 09:48:41 -0500
 Hello,

I've got a entity problem with XSL. When viewing an XML document in ie5 with
an XSL ss, the replacement text of my general entities appears at the top of
the page. Otherwise all seems fine, including the replacement of the
entities within the document.

I have another question. Do I need to explicitely match my root element, in
this case report, if I'm not doing anything in particular with it? Does the
root rule take care of that, or is it slightly different?

The following is the first few lines of report.xsl

<xsl:stylesheet
       xmlns:xsl="http://www.w3.org/TR/WD-xsl";
       xmlns="http://www.w3.org/TR/REC-html40";
       result-ns="">

<!-- default
behaviour - - - - - - - - - - - - - - - - - - - - - - - - - - -->

<xsl:template><xsl:apply-templates/></xsl:template>
<xsl:template match="textnode()"><xsl:value-of/></xsl:template>

<!-- selective behaviour - - - - - - - - - - - - - - - - - - - - - - - - -->


<xsl:template match="/">
	<HTML>
	<HEAD><TITLE>Report</TITLE></HEAD>
	<BODY>
	<xsl:apply-templates/>
	</BODY>
	</HTML>
</xsl:template>

<xsl:template match="REPORT">
	<xsl:apply-templates/>
</xsl:template>

....

Thanks,

Richard.



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


Current Thread