Lists Home |
Date Index |
- From: John Cowan <email@example.com>
- To: XML Dev <firstname.lastname@example.org>
- Date: Fri, 10 Jul 1998 11:28:55 -0400
Ron Bourret wrote:
> > Major Question: Do we want Attribute declarations allowed outside of element
> > declarations? If yes, we need to do that here. This will be fairly minor
> > surgery; the AttDef element will also need a new attribute for its parent
> > element. The XML 1.0 spec doesn't have any such production - it just uses
> > Name.
> I vote yes. There are two reasons, both for user convenience. First, it allows
> multiple attribute declarations for the same element; in this case, the Element
> attribute of the AttList element points to the relevant ElementDecl. Second, it
> is a convenient shorthand for an attribute applying to all elements; in this
> case, the Element attribute of the AttList element is omitted.
> I think it would be useful to explain further why an XSchema might be nested
> under another XSchema. In my mind, the major reason is reusability -- this
> structure means that the contents of two XSchemas can simply be placed inside
> the contents of a third XSchema.
Nested XSchemas also allow you to precisely specify the scope of
John Cowan http://www.ccil.org/~cowan email@example.com
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:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:email@example.com the following message;
To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (mailto:email@example.com)