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

Re: XT, Cocoon, & character entities

Subject: Re: XT, Cocoon, & character entities
From: Phil Lanch <phil@xxxxxxxxxxxxxxx>
Date: Wed, 15 Dec 1999 16:05:07 +0000
cocoon entities
Perry Roland wrote:
> 
> Here's the beginning of one of my documents --
> 
> <?xml version="1.0"?>
> <?cocoon-process type="xt"?>
> <?xml-stylesheet href="component.xsl" type="text/xsl"?>
> <!DOCTYPE EAD [
> <!ENTITY ISOlat1 SYSTEM
> "/home/pdr4h/public_html/cgi-bin/eadmu/junk/junk2.pen">
> <!ENTITY eacute  "&#233;" >
> ]>
> <ead id="viu01143.sgm">
> ...

You've defined the entity ISOlat1 but you haven't used it, so you've
only made the entity use
  &ISOlat1;
available, not all the entities in the other file. I also think
parameter entities, instead of general entities are usually used when
it's within the DTD like this (though I'm not sure why). So I'd try -

<!DOCTYPE EAD [
  <!ENTITY % ISOlat1 SYSTEM
"/home/pdr4h/public_html/cgi-bin/eadmu/junk/junk2.pen">
  %ISOlat1;
  <!ENTITY eacute  "&#233;" >
]>

-- 

cheers

phil

"that monotonous state of the soul halfway between fulfillment
and futility which comes with life in the country" --- Musil


 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.