<div dir="ltr">See:<div><br></div><div><a href="https://stackoverflow.com/questions/13473268/xslt-to-generate-another-xslt-script">https://stackoverflow.com/questions/13473268/xslt-to-generate-another-xslt-script</a>  <br></div><div><br></div><div>Note the primary thing recommended is not in Don's XSLT.</div><div>coderextreme@DESKTOP-DOPK2VD MINGW64 /c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets">www.web3d.org/x3d/stylesheets</a><br>$ grep '<xsl:element name="xsl:text">' *xslt<br><br>coderextreme@DESKTOP-DOPK2VD MINGW64 /c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets">www.web3d.org/x3d/stylesheets</a><br>$ grep '"xsl:text"' *xslt<br><br>coderextreme@DESKTOP-DOPK2VD MINGW64 /c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets">www.web3d.org/x3d/stylesheets</a><br>$ grep "'xsl:text'" *xslt<br><br>coderextreme@DESKTOP-DOPK2VD MINGW64 /c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets">www.web3d.org/x3d/stylesheets</a><br>$<br>=================</div><div>Note that no other XSL elements are generated in Don's XSLT:</div><div><br></div><div>coderextreme@DESKTOP-DOPK2VD MINGW64 /c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets">www.web3d.org/x3d/stylesheets</a><br>$ grep "'xsl:" *xslt<br>X3dTidy.xslt:            <xsl:variable name="xsl-vendor" select="system-property('xsl:vendor')"/><br>X3dToVrml97.xslt:  <xsl:value-of select="system-property('xsl:vendor')"/><br>X3dToXhtml.xslt:                <meta name="generator" content="XSLT processor {system-property('xsl:vendor')}"/><br><br>coderextreme@DESKTOP-DOPK2VD MINGW64 /c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets">www.web3d.org/x3d/stylesheets</a><br>$ grep '"xsl:' *xslt<br></div><div><br></div><div>Anyone care to help on this endeavor? Or can point me in the right direction?</div><div><br>Should I read this book?</div><div><br></div><div><a href="https://www.oreilly.com/library/view/xslt-cookbook/0596003722/ch10s09.html">https://www.oreilly.com/library/view/xslt-cookbook/0596003722/ch10s09.html</a> </div><div><br></div><div> <br></div><div>Thank,</div><div><br></div><div>John</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 20, 2020 at 4:09 AM John Carlson <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I think this might take a PhD.  Here why:<div><br></div><div>1.  I generate from JSON and XML</div><div>2.  I generated many languages</div><div>3.  I have a style of including SF/MF in serializers or not</div><div>4.  I have a style of flat code and hierarchical code</div><div>5.  I've customized each serial.</div><div><br></div><div>So I'm thinking this might take a generic class with several type parameters?</div><div><br></div><div>Any PhD's care to help me design this generator of generators?</div><div><br></div><div>Thanks,</div><div><br></div><div>John</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 20, 2020 at 3:37 AM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I've got all these serialzers. I'm going to try to take the next step, and code generate the serializers!<div><br></div><div>Is anyone code generating XSLT?</div><div><br></div><div>Thanks,</div><div><br></div><div>John</div><div><br></div><div>$ find pythonSAI/ x* X* /c/x3d-code/<a href="http://www.web3d.org/" target="_blank">www.web3d.org/</a> -type f -name '*Serializer*'|less|grep -v html |grep -v .log|grep -v backup|grep -v cplusplus<br>pythonSAI/PythonSerializer.js<br>x3droundtrip/DOMSerializer.js<br>x3dserve/DOM2JSONSerializer.js<br>X3DJSONLD/src/main/node/AframeSerializer.js<br>X3DJSONLD/src/main/node/DOM2JSONSerializer.js<br>X3DJSONLD/src/main/node/DOMSerializer.js<br>X3DJSONLD/src/main/node/JavaScriptSerializer.js<br>X3DJSONLD/src/main/node/JavaSerializer.js<br>X3DJSONLD/src/main/node/JSONSerializer.js<br>X3DJSONLD/src/main/node/NodeSerializer.js<br>X3DJSONLD/src/main/node/PythonSerializer.js<br>X3DJSONLD/src/main/node/StripNumberSerializer.js<br>X3DJSONLD/src/main/node/Three2Serializer.js<br>X3DJSONLD/src/main/node/ThreeSerializer.js<br>X3DJSONLD/src/main/node/VRMLScriptSerializer.js<br>X3DJSONLD/src/main/node/X_ITESerializer.js<br>/c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/java/nashorn/node/JavaScriptSerializer.js" target="_blank">www.web3d.org/x3d/stylesheets/java/nashorn/node/JavaScriptSerializer.js</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/java/src/python/pyjnius/PythonPipeliningSerializer.js" target="_blank">www.web3d.org/x3d/stylesheets/java/src/python/pyjnius/PythonPipeliningSerializer.js</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/java/src/python/pyjnius/PythonSerializer.js" target="_blank">www.web3d.org/x3d/stylesheets/java/src/python/pyjnius/PythonSerializer.js</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/java/src/python/pythonapi/PythonAssignSerializer.js" target="_blank">www.web3d.org/x3d/stylesheets/java/src/python/pythonapi/PythonAssignSerializer.js</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/java/src/python/pythonapi/PythonKwargsSerializer.js" target="_blank">www.web3d.org/x3d/stylesheets/java/src/python/pythonapi/PythonKwargsSerializer.js</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/java/src/python/pythonapi/PythonPipeliningSerializer.js" target="_blank">www.web3d.org/x3d/stylesheets/java/src/python/pythonapi/PythonPipeliningSerializer.js</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/java/src/python/pythonapi/PythonSerializer.js" target="_blank">www.web3d.org/x3d/stylesheets/java/src/python/pythonapi/PythonSerializer.js</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/node/JavaScriptSerializer.js" target="_blank">www.web3d.org/x3d/stylesheets/node/JavaScriptSerializer.js</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/node/JavaScriptSerializer.js.new" target="_blank">www.web3d.org/x3d/stylesheets/node/JavaScriptSerializer.js.new</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/node/JavaScriptSerializer.old" target="_blank">www.web3d.org/x3d/stylesheets/node/JavaScriptSerializer.old</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/node/NodeSerializer.js" target="_blank">www.web3d.org/x3d/stylesheets/node/NodeSerializer.js</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/stylesheets/vrmlscript/VRMLScriptSerializer.js" target="_blank">www.web3d.org/x3d/stylesheets/vrmlscript/VRMLScriptSerializer.js</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/tools/X3dEdit3.3/X3D/src/org/web3d/x3d/externals/stylesheets/java/nashorn/node/JavaScriptSerializer.js" target="_blank">www.web3d.org/x3d/tools/X3dEdit3.3/X3D/src/org/web3d/x3d/externals/stylesheets/java/nashorn/node/JavaScriptSerializer.js</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/tools/X3dEdit3.3/X3D/src/org/web3d/x3d/externals/stylesheets/java/src/python/pyjnius/PythonPipeliningSerializer.js" target="_blank">www.web3d.org/x3d/tools/X3dEdit3.3/X3D/src/org/web3d/x3d/externals/stylesheets/java/src/python/pyjnius/PythonPipeliningSerializer.js</a><br>/c/x3d-code/<a href="http://www.web3d.org/x3d/tools/X3dEdit3.3/X3D/src/org/web3d/x3d/externals/stylesheets/java/src/python/pyjnius/PythonSerializer.js" target="_blank">www.web3d.org/x3d/tools/X3dEdit3.3/X3D/src/org/web3d/x3d/externals/stylesheets/java/src/python/pyjnius/PythonSerializer.js</a><br></div></div>
</blockquote></div>
</blockquote></div>