<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.html-attribute-name
{mso-style-name:html-attribute-name;}
span.html-attribute-value
{mso-style-name:html-attribute-value;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>It appears that Cobweb is fouled up with DOM loading of scripts, even with the additional name value pair. See gears.x3d/gears.json and load DOM through importDocument. And independent test would help. I am not sure which of my X3DCanvases gets loaded first and I am using absolute indexing, so it could be the XML loaded one that is failing. Basically, we need a good way to load scripts coming in through JSON I think, and the only real way I know how to do it is eval or cobweb with JSON to XML conversion and VRMLscript. If Cobweb could use the VRMLscript from JSON or DOM, that might be ideal.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>This is with cobweb 2.4.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>John</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> for Windows 10</p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='border:none;padding:0in'><b>From: </b><a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a><br><b>Sent: </b>Thursday, December 1, 2016 12:32 AM<br><b>To: </b><a href="mailto:andreasplesch@gmail.com">Andreas Plesch</a>; <a href="mailto:brutzman@nps.edu">Don Brutzman</a>; <a href="mailto:roy.walmsley@ntlworld.com">Roy Walmsley</a><br><b>Subject: </b>FW: loading X3D DOM. Latest Cobweb techniques?</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Would it be possible to get a name/value of <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>"@<span class=html-attribute-name><span style='font-size:13.5pt;font-family:"Courier New"'>type"</span></span><span style='font-size:13.5pt;font-family:"Courier New";color:#881280'> : "</span><span class=html-attribute-value><span style='font-size:13.5pt;font-family:"Courier New"'>application/x-vrmlscript"</span></span><span style='font-size:13.5pt;font-family:"Courier New";color:#881280'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Courier New";color:#881280'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Courier New";color:#881280'>On the Script tag in X3D JSON? I will do some testing here first to see if it will help.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Courier New";color:#881280'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Courier New";color:#881280'>John</span><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From: </b><a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a><br><b>Sent: </b>Thursday, December 1, 2016 12:24 AM<br><b>To: </b><a href="mailto:andreasplesch@gmail.com">Andreas Plesch</a><br><b>Subject: </b>RE: loading X3D DOM. Latest Cobweb techniques?<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>One thing I noticed once I got both DOM and XML views loaded, was that I think the DOM VRML script tag was disabled, but the XML one worked. Was there some attribute to add to the Script tag to make it work? Can I add it in both XML and DOM? Thanks, John I will start email search.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>