[x3d-public] Fwd: tags -> div, tag -> class, attribute -> style : a new style of X3D programming

John Carlson yottzumm at gmail.com
Sun Nov 15 21:03:50 PST 2015



> Begin forwarded message:
> 
> From: John Carlson <yottzumm at gmail.com>
> Date: November 6, 2015 at 2:12:30 AM CST
> To: X3D Graphics public mailing list <x3d-public at web3d.org>
> Subject: tags -> div, tag -> class, attribute -> style : a new style of X3D programming
> 
> Would anyone like to discuss a way of designing X3D that looks like this?   Some of the styles would come out as attributes, but, something to consider….
> 
> <div>
> <div class='X3D' style='profile:Immersive;version:3.0;xmlns:xsd:http://www.w3.org/2001/XMLSchema-instance;xsd:noNamespaceSchemaLocation:http://www.web3d.org/specifications/x3d-3.0.xsd;'>
> </div>
> <div>
> <div class='head' style=''>
> </div>
> <div>
> <div class='meta' style='content:TestJsonEncoding.x3d;name:title;'>
> </div>
> </div>
> <div>
> <div class='meta' style='content:Don Brutzman;name:creator;'>
> </div>
> </div>
> <div>
> <div class='meta' style='content:29 March 2015;name:created;'>
> </div>
> </div>
> <div>
> <div class='meta' style='content:29 March 2015;name:modified;'>
> </div>
> </div>
> <div>
> <div class='meta' style='content:TestJsonEncoding.json;name:reference;'>
> </div>
> </div>
> <div>
> <div class='meta' style='content:Ensure X3dToJson xslt translator properly converts X3D to JavaScript Object Notation (JSON).;name:description;'>
> </div>
> </div>
> <div>
> <div class='meta' style='content:http://www.web3d.org/x3d/content/examples/Basic/development/TestJsonEncoding.x3d;name:identifier;'>
> </div>
> </div>
> <div>
> <div class='meta' style='content:http://www.web3d.org/x3d/stylesheets/X3dToJson.xslt;name:reference;'>
> </div>
> </div>
> <div>
> <div class='meta' style='content:X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit;name:generator;'>
> </div>
> </div>
> <div>
> <div class='meta' style='content:../license.html;name:license;'>
> </div>
> </div>
> </div>
> <div>
> <div class='Scene' style=''>
> </div>
> <!-- excerpted from HelloWorld.x3d --><div>
> <div class='Group' style=''>
> </div>
> <div>
> <div class='Viewpoint' style='DEF:ViewUpClose;centerOfRotation:0 -1 0;description:Hello world!;position:0 -1 7;'>
> </div>
> </div>
> <div>
> <div class='Transform' style='rotation:0 1 0 3;'>
> </div>
> <div>
> <div class='Shape' style=''>
> </div>
> <div>
> <div class='Sphere' style=''>
> </div>
> </div>
> <div>
> <div class='Appearance' style=''>
> </div>
> <!-- Test leading zeroes inserted before (and trailing zeroes inserted after) decimal points --><div>
> <div class='Material' style='DEF:MaterialLightBlue;diffuseColor:.1 .5 1.;'>
> </div>
> </div>
> <div>
> <div class='ImageTexture' style='DEF:ImageCloudlessEarth;url:"earth-topo.png" "earth-topo.jpg" "earth-topo-small.gif" "http://www.web3d.org/x3d/content/examples/Basic/earth-topo.png" "http://www.web3d.org/x3d/content/examples/Basic/earth-topo.jpg" "http://www.web3d.org/x3d/content/examples/Basic/earth-topo-small.gif";'>
> </div>
> </div>
> </div>
> </div>
> </div>
> <div>
> <div class='Transform' style='translation:0 -2 0;'>
> </div>
> <div>
> <div class='Shape' style=''>
> </div>
> <div>
> <div class='Text' style='DEF:TextMessage;string:"Hello" "world!";'>
> </div>
> <div>
> <div class='FontStyle' style='justify:"MIDDLE" "MIDDLE";'>
> </div>
> </div>
> </div>
> <div>
> <div class='Appearance' style=''>
> </div>
> <div>
> <div class='Material' style='USE:MaterialLightBlue;'>
> </div>
> </div>
> </div>
> </div>
> </div>
> </div>
> </div>
> </div>
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20151115/6cfd1de2/attachment.html>


More information about the x3d-public mailing list