[x3d-public] Awful classnames in X3dToJava.xlst

Don Brutzman brutzman at nps.edu
Tue Apr 18 20:57:11 PDT 2017


On 4/18/2017 1:01 PM, yottzumm at gmail.com wrote:
> What’s the “NeedClassHere” class name and how do I change it?
> 
> I’m trying to do it in perl and shell

The X3dToJava.xslt needs to be given a className parameter because, in general, an XSLT script does not know the filename of its input (which might be a piped stream instead).

Parameters for the stylesheet are:

     <!-- Default parameter values can be overridden when invoking this stylesheet -->
     <xsl:param name="packageName"			      ><xsl:text></xsl:text></xsl:param>
     <xsl:param name="className"				      ><xsl:text>NeedClassName</xsl:text></xsl:param>
     <xsl:param name="tupleSplitSize"			      ><xsl:text>10</xsl:text></xsl:param>
     <xsl:param name="includeLicense"		              ><xsl:text>false</xsl:text></xsl:param>

I will change default class name "NeedClassName" to "X3dToJavaXsltStylesheetNeedsClassName" instead, hopefully a little more self-evident.

Please look at how the build.xml files are invoking the stylesheets and that may provide further insight.

all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman



More information about the x3d-public mailing list