W3C home > Mailing lists > Public > www-svg@w3.org > December 2002

A top level parameter

From: Hyunju Shim <hshim@cise.ufl.edu>
Date: Sun, 1 Dec 2002 00:36:42 -0500
Message-ID: <000801c298fb$a1aedcc0$6baae380@cise.ufl.edu>
To: <www-svg@w3.org>
I would like to use top-level parameter for a javascript file name and another XML input file name to be included.
I have a trouble to deal with this top level parameter which works for javascript file but not for document().

The error message is saying from commend line like this:
saxon input.xml process.xslt param=pa > out.xml
>Recoverable error
>no more input

My erroneous XSLT is:
<xsl:param name="param">default</xsl:param>    //Top level parameter

<script xlink:href="{$param}.js" type="text/ecmascript"/>    //OK
<xsl:with-param name="count" select="count(document('{$param}.xml')node)"/>    //Error
 
Can somebody help me what is wrong here?

Thanks.
Received on Sunday, 1 December 2002 00:31:21 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:24 GMT