W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2006

[whatwg] Using X3D in XHTML documents

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 17 May 2006 13:36:09 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0605171335230.21459@dhalsim.dreamhost.com>
On Tue, 21 Jun 2005, Matthew Raymond wrote:
> 
> Now that I think about it, wouldn't the following be valid also?...
> 
> | <?xml version="1.0" encoding="UTF-8"?>
> | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> |  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> | <html xmlns="http://www.w3.org/1999/xhtml">
> | <head>
> |   <title>3D Model</title>
> |   <style type="text/css">
> |     x3d|X3D {
> |       width: 100px;
> |       height: 100px;
> |     }
> |   </style>
> | </head>
> | <body>
> |   <h1>A 3D Cylinder Model</h1>
> |   <X3D xmlns="http://www.web3d.org/specifications/x3d-3.0.xsd"
> |    profile="MPEG-4 Interactive">
> |     <Scene>
> |       <Shape>
> |         <Appearance>
> |           <Material diffuseColor="0.0 0.5 1.0"/>
> |         </Appearance>
> |         <Cylinder/>
> |       </Shape>
> |     </Scene>
> |   </X3D>
> | </body>
> | </html>

Not for XHTML1, no. I wouldn't have any objections to having XHTML5 
support that. Does X3D support that?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 17 May 2006 06:36:09 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:27 UTC