[x3d-public] Awful classnames in X3dToJava.xlst
yottzumm at gmail.com
yottzumm at gmail.com
Tue Apr 18 21:25:42 PDT 2017
How do I pass that on the command line? I must be using saxon wrong? I will try to look at the build.xml files, but I am fading?
John
Sent from Mail for Windows 10
From: Don Brutzman
Sent: Tuesday, April 18, 2017 11:57 PM
To: yottzumm at gmail.com; X3D Graphics public mailing list
Subject: Re: Awful classnames in X3dToJava.xlst
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170419/e3e89150/attachment-0001.html>
More information about the x3d-public
mailing list