Re: DTDs for VRML
Bullard, Claude L (clbullar@ingr.com)
Wed, 16 Dec 1998 08:54:18 -0600
Sorry, yes I did include the shape node to use containment to
keep the appearance with it. Again, a step at a time. Another
alternative like what Clay suggests is to use ID/IDREFs
to associate the appearance to a box element, or as others
suggest, create a geometry node and add the box as a type
attribute. This bothers me in terms of using the DTD for
authoring though. The author has to know what each type
uses in terms of other attributes because a generalized
XML editor typically will present all of them. If any of you have
copies of SoftQuad AE or any of the other SGML editors,
you may want to try this to see how it works.
To use the architecture, we could consider a
design where the node attributes are described in a
an architectural DTD. The value for the NODE is #FIXED
in the application DTD. This is sometimes described as a
single level of inheritance but in reality, it is a punt similar
to the VRML97 spec itself in which some events are
IncludedBySpec (eg, addChildren).
Len Bullard
Intergraph Public Safety
clbullar@ingr.com
Ekam sat.h, Vipraah bahudhaa vadanti.
Daamyata. Datta. Dayadhvam.h
------------------------------------------------------------------------
for list subscription instructions,
send email to dbwork-request@vrml.org with text "info"