XSchema Finalization - Attribute Default Value as Element? (2)
Simon St.Laurent (SimonStL@classic.msn.com)
Sun, 26 Jul 98 16:05:10 UT
Carl Hage proposed:
>Though it's not as important for AttValue to be an element, I think for
>improved extensibility and the ability to attach documentation, <AttValue>
>should be restored, with Doc? added, e.g.
>
> <!ELEMENT XSC:AttDef (XSC:Doc?, XSC:More?, XSC:EnumerationValue*,
> XSC:AttValue?)>
>
> <!ELEMENT XSC:AttValue Doc?>
I'd add XSC:More as well, of course...
Right now the AttValue is an attribute, not a subelement. This is handier for
typing, but less convenient for documentation. Opinions?
More to come...
Simon St.Laurent
Dynamic HTML: A Primer / XML: A Primer / Cookies