<div dir="ltr"><a href="https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/es6/">https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/es6/</a><br><div><br></div><div>It's SAI non-compliant for now. Contributions welcome.</div><div><br></div><div>I just have the beginnings of the toXML stuff done. It needs work.</div><div><br></div><div>Basically, I got something that compiled, so I checked it in.</div><div><br></div><div>It's kind of up to the community how this goes.</div><div><br></div><div>Sorry about all the bitching.</div><div><br></div><div>Sorry the generation is in python.  If someone wants to translate the python to JavaScript, I'm open to it.</div><div><br></div><div>Test cases are welcome.  I would recommend creating a X3dToES6.xslt (no, I don't do XSLT).</div><div><br></div><div>Note that ES6 has single superclass inheritance to my knowledge.  If someone wants to program mixins, I'm open to that.</div><div><br></div><div>Note that if you modify x3d.js, your changes will get wiped out.</div><div><br></div><div>John</div></div>