[EMAIL PROTECTED] wrote:
>
> "<!ELEMENT ( %fontstyle; | %phrase; ) (%inline;)* >"
>
> This is just a SWAG, since I don't know SGML, but it looks like SGML must
> either support a "include either this or that" type of entity reference
> mechanism or a different syntax for an element declaration??
SGML allows you to combine several element type declarations into a
single declaration. The above declaration declares all the elements
contained in the parameter entities fontstyle and phrase to have the
same content model: (%inline;)*
Note that attribute list declarations can be combined just the same, as
in:
<!ATTLIST (%fontstyle;|%phrase;)
%attrs; -- %coreattrs, %i18n, %events --
>
--
Arnaud Le Hors - IBM Cupertino, XML Technology Group