Lists Home |
Date Index |
- From: John Cowan <firstname.lastname@example.org>
- To: XML Dev <email@example.com>
- Date: Fri, 18 Dec 1998 13:46:45 -0500
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 firstname.lastname@example.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:email@example.com
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:firstname.lastname@example.org the following message;
To subscribe to the digests, mailto:email@example.com the following message;
List coordinator, Henry Rzepa (mailto:firstname.lastname@example.org)