Constraints on Attvalues
John Cowan
cowan at locke.ccil.org
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,
example.xml:
<!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">
%externalParameterEntity;
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 ccil.org
e'osai ko sarji la lojban.
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/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe 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