<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 10/23/2016 2:35 PM, Don Brutzman
wrote:<br>
</div>
<blockquote cite="mid:a0c80d53-3d19-2724-70fa-fc04bf491eca@nps.edu"
type="cite">On 10/22/2016 8:35 PM, Andreas Plesch wrote:
<br>
<blockquote type="cite">On Oct 22, 2016 6:27 PM, "Don Brutzman"
<<a class="moz-txt-link-abbreviated" href="mailto:brutzman@nps.edu">brutzman@nps.edu</a> <a class="moz-txt-link-rfc2396E" href="mailto:brutzman@nps.edu"><mailto:brutzman@nps.edu></a>> wrote:
<br>
<br>
</blockquote>
</blockquote>
<br>
<blockquote cite="mid:a0c80d53-3d19-2724-70fa-fc04bf491eca@nps.edu"
type="cite">
<blockquote type="cite">
<blockquote type="cite">- loading HTML that contains embedded
X3D scene
<br>
</blockquote>
<br>
parsing HTML into a DOM is very available. I am not quite sure
what scenario you would have in mind here.
<br>
</blockquote>
<br>
something like
<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.web3d.org/x3d/content/examples/HelloWorldCobweb.html">http://www.web3d.org/x3d/content/examples/HelloWorldCobweb.html</a>
<br>
or
<br>
<a class="moz-txt-link-freetext" href="http://www.web3d.org/x3d/content/examples/HelloWorldX3dom.xhtml">http://www.web3d.org/x3d/content/examples/HelloWorldX3dom.xhtml</a>
<br>
<br>
in other words, an HTML document that contains an X3D scene,
should we have a utility method that loads the document but strips
out any HTML/CSS/etc. and leaves only X3D scene?
<br>
</blockquote>
<br>
This is potentially risky because JavaScript can modify or even
create the HTML as the file is loading to produce different results.
Some HTML frameworks (e.g., React.js) load partial content until the
region to be display is nearly visible to the user, then the entire
region is loaded. The scene may also contain some vendor-specific
scene elements that should not be filtered out.<br>
<br>
It is probably much easier (and safer) if you only accept straight
X3D than start mandating that the embedded X3D in HTML follow some
very specific design constraints. <br>
<br>
<br>
<div class="moz-signature">-- <br>
<font class="tahoma,arial,helvetica san serif" color="#333366">
<font size="+1"><b>Leonard Daly</b></font><br>
3D Systems & Cloud Consultant<br>
LA ACM SIGGRAPH Chair<br>
President, Daly Realism - <i>Creating the Future</i>
</font></div>
</body>
</html>