[x3d-public] x3d.py roundtrip for Metadata nodes in v.3.3 and v.4.0
John Carlson
yottzumm at gmail.com
Tue Oct 31 19:29:16 PDT 2023
On Tue, Oct 31, 2023 at 8:01 PM Brutzman, Donald (Don) (CIV) <
brutzman at nps.edu> wrote:
> Rather than constructing a new example, we have some existing models for
> X3D3/X3D4 Metadata nodes already in the X3D Example Archives.
>
>
>
> I looked at the HTML5 pretty-print documentation for our two sets of
> X3D3/X3D4 metadata examples. Found a problem in X3dToXhtml.xslt conversion
> stylesheet, was able to fix it.
>
>
>
> The following examples should now all show the correct defaults:
>
>
>
> - X3D Example Archives: X3D4WA, X3D for Web Authors, Chapter 15
> Metadata
> -
> https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/index.html
>
>
>
> - Metadata Node Examples X3D 3
> - Metadata Node Examples X3D 4
> - World Info Example Metadata Set X3D 3
> - World Info Example Metadata Set X3D 3
>
>
>
Don, we are concerned about the python links on these pages producing
incorrect XML output. Can you provide updates to x3d.py, if there are
updates? Otherwise, I'm afraid Andreas' and Vince's points still stand.
We really need updates to x3d.py. We would like to try to patch it with
your permission. We would like to add containerFields as best as we can to
the output of x3d.py. It's not that we can't patch output from x3d.py. I
hope you understand that we don't want to hand edit x3d.py output as that
would look bad for the Web3D Consortium to produce files from x3d.py that
required hand editing. Especially if someone is downloading x3d.py from a
website and does not have these threads handy to to read.
If you like, I can download the XML, convert to python, then produce XML
from the python code (using x3d.py off the shelf). But I'm afraid I will
get the same results as Vince and Andreas.
Andreas did address some of the solution. See his link to the stylesheet
in question, which I provide here:
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/X3duomToX3dPythonPackage.xslt
Thanks,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20231031/10709c91/attachment.html>
More information about the x3d-public
mailing list