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

RE: The XSL-List Digest V2 #608 Entities.

Subject: RE: The XSL-List Digest V2 #608 Entities.
From: "Dave Pawson" <dave.pawson@xxxxxxxxxx>
Date: Thu, 20 Apr 2000 18:24:14 +0100
xslt entity definitions
Thanks David. Quite a revelation (to me).

Just checking if I understand: 

I'm processing a source document (file1)which
has its doctype, entities defined etc.
  Mid stream I use a document() to retrieve and
process another xml file (file2)
The doctype, local entities I have defined for
file1 are completely dissociate from those of
file2. Am I right in this? And any entities I
define within the stylesheet, they are only
'valid for use' within the stylesheet?
so on this basis I have 3 document structures,
file1 file2 and the stylesheet, each with its
own, non-overlapping set of entity definitions.

Mmmm.

Fascinating.
Regards, DaveP

Thanks also to Rick G for his later reply.
I 'couldn't' do as suggested, since I was using
the main input file simply as an 'index' into 
the others whose root I was ignoring. It is defined
in that file. 





Date: Tue, 18 Apr 2000 18:42:53 +0100 (BST)
From: David Carlisle <davidc@xxxxxxxxx>
Subject: Re: entities

> xt is complaining because I haven't got eacute defined.
> I have tried including
> entity definition within the xsl file used,

> file:/xslcharacters.xml:393: reference to undefined entity "eacute" 

You didn't show the file xslcharacters.xml but I assume it has 
&eacute; on line 393, and no <!DOCTYPE at the top.

the declaration in this file isn't doing anything as this file
doesn't use the entity.


<!DOCUMENT doc [
<!ENTITY  eacute	"&#x00E9;"><!--	# LATIN SMALL LETTER E WITH ACUTE -->
]>
<doc>

   <file>xslcharacters.xml</file>
</doc>


 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.