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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: Constraints on Attvalues

[ Lists Home | Date Index | Thread Index ]
  • From: John Cowan <cowan@locke.ccil.org>
  • To: xml-dev@ic.ac.uk
  • Date: Sat, 29 Aug 1998 21:58:09 -0400 (EDT)

Dean Roddey scripsit:

> In that last parenthetical phrase... can you give an example of the latter
> scenario, i.e. "in an
> external parameter entity"? Just want to make sure I understand what's being
> said.

Sure.  I'm going to declare some entities internal and external,
hopefully with self-explanatory names.  Here is the main document,

	<!DOCTYPE SYSTEM "example.dtd" [
		<!ENTITY internallyDeclaredInternal "foo">
		<!ENTITY internallyDeclaredExternal SYSTEM "foo.ent">
	etc. etc.

Then here is the external subset, example.dtd:

	<!ENTITY externallyDeclaredInternal "foo">
	<!ENTITY externallyDeclaredExternal SYSTEM "foo2.ent">
	<!ENTITY % externalParameterEntity SYSTEM "example.par">
	etc. etc.

Then here is a parameter entity, example.par:

	<!ENTITY inExternalPEDeclaredInternal "foo">
	<!ENTITY inExternalPEDeclaredExternal SYSTEM "foo3.ent">

And so on.

John Cowan					cowan@ccil.org
		e'osai ko sarji la lojban.

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/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe 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