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

Re: storing translatable text outside stylesheets

Subject: Re: storing translatable text outside stylesheets
From: "Michael Beddow" <mbnospam@xxxxxxxxxxx>
Date: Mon, 18 Jun 2001 12:26:38 +0100
Re:  storing translatable text outside stylesheets
> > However, when I add this reference to the entity file to the top of
my
> > stylesheet:
> > <!DOCTYPE xsl:stylesheet [
> > <!ENTITY % stylesheettext SYSTEM "stylesheettext.ent"> ]>
>
> You've declared a parameter entity that references an external file
that
> presumably contains the definitions of a number of general entities
such as
> &symbol; . But you haven't invoked this parameter entity, so the
definitions
> of your general entities are not actually processed.
>

Linda, I think you perhaps haven't grasped that a parameter entity
declaration is only for use *within* at DTD, and so the parser will
refer to it only if it's used elsewhere in the same DTD. What's needed
is a declaration of external parsed entities. Then things will work as
expected. A look at any good SGML or XML reference source on entitiy
declarations should clear up this (not infrequent) confusion.

Michael
-------------------------------------------------
Michael Beddow
http://www.mbeddow.net/


 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.