<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>How does one set meta attribute content= value for attribute names generator and reference output in X3DJSAIL? Is there a way to do it through</p><p class=MsoNormal>toFileX3D or toFileJSON or toFileJavaScript?</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Here’s my program:</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> load('nashorn/node/X3Dautoclass.js');</p><p class=MsoNormal> var X3DJSONLD = Java.type("net.coderextreme.X3DJSONLD")</p><p class=MsoNormal> var loader = new X3DJSONLD();</p><p class=MsoNormal> var File = Java.type("java.io.File")</p><p class=MsoNormal> var jsobj = loader.readJsonFile(new File("./nashorn/examples/HelloWorldProgramOutput.json"));</p><p class=MsoNormal>// maybe do something with jsobj?</p><p class=MsoNormal> var document = loader.loadJsonIntoDocument(jsobj);</p><p class=MsoNormal> var X3DLoaderObject = Java.type("org.web3d.x3d.jsail.X3DLoaderObject")</p><p class=MsoNormal> var xmlLoader = new X3DLoaderObject();</p><p class=MsoNormal> var X3D0 = xmlLoader.toX3dObjectTree(document);</p><p class=MsoNormal>// maybe do something to X3D0?</p><p class=MsoNormal> X3D0.toFileX3D("./nashorn/examples/Json.x3d"); // maybe add something here?</p><p class=MsoNormal> X3D0.toFileJSON("./nashorn/examples/Json.json");</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>How do I set the generator to this program? Do I need to get into the X3D0 scenegraph, or can</p><p class=MsoNormal>The calls toFileX3D and toFileJSON do it? Do those calls set it to 'X3D Java Scene Access Interface Library (X3DJSAIL)'</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>What in general should set the generator?</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks,</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>John</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>