Constraints on Attvalues

John Cowan cowan at
Sun Aug 30 03:55:38 BST 1998

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 at
		e'osai ko sarji la lojban.

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list