|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] entity problems
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








