[x3d-public] setUSE in X3DJSAIL. Impact on X3DJSONLD.

Andreas Plesch andreasplesch at gmail.com
Thu Jul 20 11:33:26 PDT 2017


>
>
> Date: Thu, 20 Jul 2017 12:18:53 -0400
> From: John Carlson <yottzumm at gmail.com>
>
> As far as I know, there is no ?parents? property on a node in DOM, so this
> whole discussion is rather moot until that changes. If you don?t have
> parents, then there?s no way to get to one or more of your parents from a
> child node (not necessarily needed, but?)
>
>
There is parentNode:

https://developer.mozilla.org/en-US/docs/Web/API/Node/parentNode

But the property is readonly because there can be only one parent for a
node.

x3dom/cobweb do not use the DOM for storing the x3d scene graph. They use
javascript objects, for this reason among others. Additionally, there is a
SAI service importDOM (or so) to help with bridging.

I am not sure if I am following the discussion completely. One key seems to
be to be careful in distinguishing in nomenclature (and praxis) the
abstract scene graph (including the runtime state) - accessible via
standardized SAI - from the (XML) node tree. Is perhaps X3DJSAIL a bit of a
misnomer somewhat conflating SAI services with node tree manipulation ?

Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170720/d1b7209c/attachment.html>


More information about the x3d-public mailing list