[x3d-public] problems with Saxon's xslt3 node module
John Carlson
yottzumm at gmail.com
Tue Jun 20 02:35:35 PDT 2023
Saxon's xslt3 node.js module has serious issues using X3dToJson.xslt.
For example, an entire ProtoInstance was deleted when converting to
abox.x3d to JSON. (see attached abox.3d)
Fortunately, their Java Saxon 10.6 HE is our primary stylesheet processor
and is working well.
Here is some pseudocode for running xslt3. You will need some way to
install xslt3, like npm (part of node.js package).
$ npm install -g xslt3
$ xslt3 -xsl:X3dToJson.xslt -s:abox.x3d -o:abox.json
Hmm!
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230620/c841bc43/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: abox.x3d
Type: model/x3d+xml
Size: 1563 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230620/c841bc43/attachment.x3d>
More information about the x3d-public
mailing list