cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ling Kok Choon <kokch...@brel.com>
Subject get parameter from xalan command line
Date Fri, 21 Sep 2001 06:17:09 GMT
Hi,

  I use Xalan command base to translate a XML file to another xml file with a XSL file, and
i 
pass in 1 parameter to the xsl, the command is like:

  C:\ java -jar xalan.jar -IN Testing.xml -XSL testing.xsl -PARAM testParam testValue -OUT

Testing4.xml

and my problem is how to get parameter testParam and the value ( taht is textValue ) from
the 
command line ? I tried to use <xsl:value-of select="$textParam" /> in my xsl file, but
error 
occur : variableReference given for variable out of context or without definition.

Thank you.


Kok Choon.
--------------------------------------------------------
Name: Ling Kok Choon
E-mail: Ling Kok Choon <kokchoon@brel.com>
Date: 09/21/01
Time: 14:17:09

This message was sent by Z-Mail Pro - from NetManage
NetManage - delivers Standards Based IntraNet Solutions
--------------------------------------------------------


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message