SOX

Ron Bourret rbourret at dvs1.informatik.tu-darmstadt.de
Thu Oct 1 15:46:12 BST 1998


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 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