[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: DOCTYPE (was Re: Announcement: SAX 1998-01-12 Draft)

  • From: "W. Eliot Kimber" <eliot@i...>
  • To: xml-dev@i...
  • Date: Wed, 14 Jan 1998 16:28:28 -0800

vrml doctype
len bullard wrote:
> For those who might have missed it,
> the VRML Consortium has approved a
> working group to look at issues
> of a binding of VRML, XML, DHTML
> and DOM.  Rob Glidden is heading
> up the effort which kicked off
> last week with a meeting in San Jose.

I've already responded personally to a note from Chris Marrin, who had
been informed about my VRML as SGML work (see
"http://www.drmacro.com/vrml").  Transliterating VRML nodes into SGML
syntax is straight forward (at least for 1.0, don't know about 2.0
'cause I don't know what it looks like).

Using XML for VRML is an excellent example of how SGML architectures can
be put to use.  For example, assume we have a VRML architecture that
defines element types corresponding to the node types in VRML, e.g.,
Cube, Cone, Light, etc.  A plain vanilla VRML document might look
something like this:

<?XML 1.0?>
<vrml-world version="1.0">

Now say you want to define your own specialized VRML node types.  Within
an XML context, you can do this with architectures:

<?XML 1.0?>
<?IS10744:arch name="VRML" dtd-systemid="http://www.vrml.org/vrml.dtd"?>
 <big-block VRML="cube">

I've now "subclassed" cube into the type "big-block" without obscuring
the connection back to the VRML-defined types.  I still have to do all
the definition of my big-block type--I don't get any syntax shortcuts,
but you can't have everyting [I realized recently that this is very much
like the "implements" feature in VB5--it lets you declare conformance to
an "interface" defined elsewhere, but you still have to provide all the
parts locally because VB5, like SGML architectures, is not truly object
oriented in the purest sense.]

With today's tools, all I have to do to make a working world out of this
second document is write a Perl script or DSSSL spec or whatever to
generate the appropriate VRML from the SGML version of it.  It's not
very hard because the transformation is so simple. 

I think that could be pretty useful, especially once VRML browsers let
you associate presentation styles with element types. After all,
rendering 3-D objects is not fundamentally different in the abstract
from rendering 2-D objects, it's still a matter of apply presentation
style.  So why shouldn't XSL be just as useful for VRML worlds as for
2-D documents?



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.