External DTD & namespaces
cowan at locke.ccil.org
Fri Dec 18 18:47:10 GMT 1998
Andy Malakov wrote:
> I want to use namespace prefixes in element declarations of the
> external/internal DTDs.
> For example, I want to define namespace "myns" and use with each DTD
> <!ELEMENT myns:point (int, int)>
> Where I should put "myns" namespace declaration?
You can't as such. Prefixes appearing in DTDs have no definite
meaning; the meaning is learned from examining the context where
the prefixed element "myns:point" appears. Whatever "myns:" means
at that time will dictate the meaning.
(Yes, this sucks. Live with it.)
John Cowan http://www.ccil.org/~cowan cowan at ccil.org
You tollerday donsk? N. You tolkatiff scowegian? Nn.
You spigotty anglease? Nnn. You phonio saxo? Nnnn.
Clear all so! 'Tis a Jute.... (Finnegans Wake 16.5)
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;
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev