[
Lists Home |
Date Index |
Thread Index
]
- From: rbourret@dvs1.informatik.tu-darmstadt.de (Ron Bourret)
- To: xml-dev@ic.ac.uk
- Date: Thu, 1 Oct 1998 15:24:54 +0200
Graham Moore wrote:
> 1) Possinbly we should be using XML to specify the binding.
>
> [snip]
>
> Example functional mixin file: This is very simplistic but illustrates what
> we could do. I haven't considered the delegation structure in any real
> depth.
>
> <?xml version='1.0'?>
> <mixins>
> <mixinassoc elem="breakfast-menu" jclass="grove.menu"/>
> <mixinassoc elem="food" jclass="grove.food"/>
> </mixins>
The binding syntax should definitely be XML. I also suggest that it be done in
such a way that the bindings can exist in a separate file (as shown in the
example) or dropped into a schema file. (In the example above, <mixinassoc>
could exist inside XSchema's ElementDecl element, where the elem attribute would
not be set, or directly beneath an XSchema element, ready for reuse elsewhere.)
-- Ron Bourret
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|