<div dir="ltr">I have a few X3D XML files that need to get converted to X3D JSON.  I currently use X3dToJson.xslt, but I want an alternate path.  Thus I wrote:<div><br></div><div><a href="https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/node/DOM2JSONSerializer.js">https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/node/DOM2JSONSerializer.js</a><br></div><div><a href="https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/node/xml2all.js">https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/node/xml2all.js</a><br></div><div><br>Here's how I run them:</div><div><br></div><div>$ node ../node/xml2all.js JoeSkinTexcoordDisplacerKick.x3d<br></div><div><br></div><div>But it doesn't work on these files:</div><div><br></div><div><a href="https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/data/JoeKick.x3d">https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/data/JoeKick.x3d</a><br></div><div><a href="https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/data/JoeProcessed.x3d">https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/data/JoeProcessed.x3d</a><br></div><div><a href="https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/data/JoeSkinTexcoordDisplacerKick.x3d">https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/data/JoeSkinTexcoordDisplacerKick.x3d</a><br></div><div><br></div><div>I don't know how to run the node debugger yet, but I'm going to start up VSCode soon!</div><div><br></div><div>I don't care if you use my JavaScript or not. It should run on all platforms (python might be nice).</div></div>