<div dir="auto">XSLT solution idea for HAnimHumanoid joints and skeleton fields order output from x3d.py, below.  For the stylesheet that generates x3d.py</div><div dir="auto"><br></div><div dir="auto">Loop first time through HAnimHumanoid fields, only printing out skeleton field.</div><div dir="auto"><br></div><div dir="auto">Loop second time through fields, printing rest of fields, not skeleton field.</div><div dir="auto"><br></div><div dir="auto">I’m hoping only HAnimHumanoid has skeleton, but I think it should still work, just slower than one loop.</div><div dir="auto"><br></div><div dir="auto">Any suggestions besides this? I don’t have exact code, but I hope to implement this for a Blender plugin tonight.  I’m tired of reordering x3d.py output.</div><div dir="auto"><br></div><div dir="auto">Are there any other nodes which require specific ordering while I’m working on this?</div><div dir="auto"><br></div><div dir="auto">I’m still thinking about generating python from x3d.py, but I need encoding input first.  Anyone want to work on that?  Hopefully it will be extremely useful for Blender plugin.</div><div dir="auto"><br><div dir="auto"><a href="https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/python/jsontoscene.py">https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/python/jsontoscene.py</a></div></div>