[x3d-public] XSLT expert needed for X3dToJson.xslt

John Carlson yottzumm at gmail.com
Wed Jan 20 23:43:31 PST 2021


These files need to be repaired (I will try to get to it, but I keep 
uncovering more and more).

X3dToJava.xslt:

X3DJSONLD/src/main/java/net/x3djsonld/data/LOA0ExampleSourceWithDiamonds.java

X3DJSONLD/src/main/java/net/x3djsonld/data/LOA2ExampleSourceInVRML.java
X3DJSONLD/src/main/java/net/x3djsonld/data/LOA0ExampleSourceInVRML.java
X3DJSONLD/src/main/java/net/x3djsonld/data/LOA1ExampleSourceWithDiamonds.java
X3DJSONLD/src/main/java/net/x3djsonld/data/LOA3ExampleSourceInVRML.java
X3DJSONLD/src/main/java/net/x3djsonld/data/LOA3ExampleSourceWithDiamonds.java

X3DJSONLD/src/main/java/net/x3djsonld/data/LOA1ExampleSourceInVRML.java

========================================================================

X3dToPython.xslt

X3DJSONLD/src/main/python/net/x3djsonld/data/LOA3ExampleSourceWithDiamonds.py
X3DJSONLD/src/main/python/net/x3djsonld/data/LOA1ExampleSourceWithDiamonds.py
X3DJSONLD/src/main/python/net/x3djsonld/data/LOA3ExampleSourceInVRML.py
X3DJSONLD/src/main/python/net/x3djsonld/data/LOA1ExampleSourceInVRML.py
X3DJSONLD/src/main/python/net/x3djsonld/data/LOA2ExampleSourceInVRML.py
X3DJSONLD/src/main/python/net/x3djsonld/data/LOA0ExampleSourceWithDiamonds.py

X3DJSONLD/src/main/python/net/x3djsonld/data/LOA0ExampleSourceInVRML.py


I'm not quite sure what I have to do to get python x3d.py programs working:


coderextreme at coderextreme-Kubuntu20:/c/x3d-code/www.web3d.org/x3d/stylesheets/python$ 
cd examples/
coderextreme at coderextreme-Kubuntu20:/c/x3d-code/www.web3d.org/x3d/stylesheets/python/examples$ 
python HelloWorld.py
Traceback (most recent call last):
   File "HelloWorld.py", line 21, in <module>
     from x3d import *
ImportError: No module named x3d
$ pip3 install x3d
Collecting x3d
   Downloading x3d-0.0.37-py3-none-any.whl (317 kB)
      |████████████████████████████████| 317 kB 2.2 MB/s
Installing collected packages: x3d
Successfully installed x3d-0.0.37
$ python HelloWorld.py
Traceback (most recent call last):
   File "HelloWorld.py", line 21, in <module>
     from x3d import *
ImportError: No module named x3d
$ pip install x3d
Requirement already satisfied: x3d in 
/home/coderextreme/.local/lib/python3.8/site-packages (0.0.37)
$ python HelloWorld.py
Traceback (most recent call last):
   File "HelloWorld.py", line 21, in <module>
     from x3d import *
ImportError: No module named x3d

=================

coderextreme at coderextreme-Kubuntu20:~/X3DJSONLD/src/main/python/net/x3djsonld/data$ 
python HelloWorld.py
Traceback (most recent call last):
   File "HelloWorld.py", line 21, in <module>
     from x3d import *
   File 
"/home/coderextreme/X3DJSONLD/src/main/python/net/x3djsonld/data/x3d.py", 
line 269
SyntaxError: Non-ASCII character '\xc3' in file 
/home/coderextreme/X3DJSONLD/src/main/python/net/x3djsonld/data/x3d.py 
on line 269, but no encoding declared; see 
http://python.org/dev/peps/pep-0263/ for details

(follow the python.org link for details.  This is on Kubuntu Groovy 
Gorilla.)

==========================================================================

X3dToES5.xslt

X3DJSONLD/src/main/nashorn/net/x3djsonld/data/LOA2ExampleSourceInVRML.js

X3DJSONLD/src/main/nashorn/net/x3djsonld/data/LOA1ExampleSourceWithDiamonds.js
X3DJSONLD/src/main/nashorn/net/x3djsonld/data/LOA0ExampleSourceInVRML.js
X3DJSONLD/src/main/nashorn/net/x3djsonld/data/LOA1ExampleSourceInVRML.js
X3DJSONLD/src/main/nashorn/net/x3djsonld/data/LOA3ExampleSourceWithDiamonds.js
X3DJSONLD/src/main/nashorn/net/x3djsonld/data/LOA3ExampleSourceInVRML.js

X3DJSONLD/src/main/nashorn/net/x3djsonld/data/LOA0ExampleSourceWithDiamonds.js

========================================================================

X3dToNodeJS.xslt


X3DJSONLD/src/main/node/net/x3djsonld/data/LOA2ExampleSourceInVRML.js

X3DJSONLD/src/main/node/net/x3djsonld/data/LOA1ExampleSourceWithDiamonds.js
X3DJSONLD/src/main/node/net/x3djsonld/data/LOA0ExampleSourceInVRML.js
X3DJSONLD/src/main/node/net/x3djsonld/data/LOA1ExampleSourceInVRML.js
X3DJSONLD/src/main/node/net/x3djsonld/data/LOA3ExampleSourceWithDiamonds.js
X3DJSONLD/src/main/node/net/x3djsonld/data/LOA3ExampleSourceInVRML.js
X3DJSONLD/src/main/node/net/x3djsonld/data/LOA0ExampleSourceWithDiamonds.js




More information about the x3d-public mailing list