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

Re: entities

Subject: Re: entities
From: "Rick Geimer" <Rick.Geimer@xxxxxxx>
Date: Tue, 18 Apr 2000 10:53:29 -0700
reference to undefined entity eacute
Dave,

Since you are reading xslcharacters.xml using the document function, I
think you need to have eacute defined in xslcharacters.xml itself.
Basically, it is being parsed as a stand alone document, and will ignore
any entity definitions in your "doc" document.

Rick Geimer
National Semiconductor
rick.geimer@xxxxxxx

Dave Pawson wrote:
> 
> 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


 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.