[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

entity problems

Subject: entity problems
From: "Richard Lander" <rlander@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 27 Jan 1999 09:48:41 -0500
entity problem xsl
 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.