How CAN one facilitate re-use of XML components?

David Megginson david at megginson.com
Fri Nov 19 18:40:13 GMT 1999


"Michael Champion" <Mike.Champion at softwareag-usa.com> writes:

> > This is my statement and I stand by it. In my experience the
> > at-scale use of external parsed entities for re-use has only ever
> > led to pain.
> 
> OK, so can I ask the list's opinion on what one CAN do to facilitate
> the re-use of XML components produced by different authors or
> processes?  This is one thing that XML is *supposed* to do well, if
> you believe various bits of hype.

In the SGML world, Eliot Kimber wrote a very well-respected paper on
why separate documents (SUBDOCs) are better than references to
external parsed entities -- I no longer have the URL, unfortunately.

In general, if you want to reuse chunks of XML, there are enormous
advantages to something like

  <included-document src="foo.xml"/>

over

  <!ENTITY foo SYSTEM "foo.ent">

  ...

  &foo;

The XML linking people have done yeoman's (and woman's) work trying to
figure out standard attributes for specifying this kind of
relationship -- I've fallen behind, but perhaps Tim can let us know
where things are right now.


All the best,


David

-- 
David Megginson                 david at megginson.com
           http://www.megginson.com/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at 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 at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list