OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: External Parameter Entities for Reuse?

[ Lists Home | Date Index | Thread Index ]
  • From: "G. Ken Holman" <gkholman@CraneSoftwrights.com>
  • To: XML Dev <xml-dev@ic.ac.uk>
  • Date: Thu, 18 Nov 1999 14:28:03 -0500

At 99/11/18 12:21 -0600, Barton Stanley wrote:
>In a somewhat similar vein, I am interested in people's experience with 
>employing external parameter entities as a declaration reuse 
>mechanism.  In other words, is it advisable to use a common set of 
>declarations (i.e. a single, physical entity) across multiple document 
>type definitions?

It is in my environments.

>Why or why not?

(1) - it allows me to parameterize the declarations of internal general 
entities by using marked sections in external parameter entities (though 
typically for only one model for parameterization reasons and not different 
models for reuse reasons)

(2) - it allows me to collect internal general entity declarations by topic 
(useful for reuse)

(3) - it allows me to include a "package" of declarations under the purview 
of others (e.g. the OASIS Table Model) ... (also useful for re-use)

I don't think I've put the element and attribute declarations for a given 
document model into more than one physical file when I'm responsible for 
the entire DTD, but if it were *really* big I would either do so or 
question why my model was so large.

........... Ken

--
G. Ken Holman                    mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.             http://www.CraneSoftwrights.com/x/
Box 266, Kars, Ontario CANADA K0A-2E0   +1(613)489-0999   (Fax:-0995)
Web site: XSL/XML/DSSSL/SGML services, training, libraries, products.
Practical Transformation Using XSLT and XPath      ISBN 1-894049-02-0
Next instructor-led training:              1999-12-05/06, 1999-12-07,
-                            2000-02-27/28, 2000-05-11/12, 2000-05-15


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS