[x3d-public] online xslt transformer

Andreas Plesch andreasplesch at gmail.com
Sun Jan 26 13:30:11 PST 2020


It was the xsl processor which had the problem, not the stylesheet.

http://xsltransform.net/

uses saxon 9 he and generates error-free and hopefully correct json.

-Andreas

On Sun, Jan 26, 2020 at 4:09 PM Andreas Plesch <andreasplesch at gmail.com> wrote:
>
> I was looking for a relatively easy way to convert from xml to the
> json encoding, using Don's xslt stylesheet
> (https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/X3dToJson.xslt#l26).
> After a while I found
>
> https://xslttest.appspot.com/
>
> which seems to work pretty well but had some problem with Protos
>
> Here is a test conversion of an old vrml scene:
>
> https://gist.github.com/andreasplesch/4fb27cb9f3db9ee423066ae74d4aaae1
>
> converted to xml with view3dscene.
>
> The json has "-IllegalChildNodeFieldNameNotFound" in ProtoBodies.
> Could that be a result of insufficient capabilities of the xsl
> processor ? It says it supports XSLT 2.0.
>
> Andreas
>
>
> --
> Andreas Plesch
> Waltham, MA 02453



-- 
Andreas Plesch
Waltham, MA 02453



More information about the x3d-public mailing list