>I have an xsl script that performed correctly in the NT evironment.
>When run in the UNIX environment it returned the following error message.
>...
>xsl:param requires attribute: name

Yet his script shows
<xsl:param name="file1" select
="'I:/xml/workdir/output/brandmanu.out.xml'"/>
on the line reported in error.

I think two things are happening:
1. Something is amiss on the command line where this variable is being set.
2. The problem is causing invocation of an inappropriate error message.
Keep in mind that the problem may not actually get discovered until the
first instance of $file1 forces evaluation of the variable.

My suggestion for further debugging is to reduce the stylesheet to just
the declarations, the one xsl:param shown above, and one template:
<xsl:template match="/">
  <file1><xsl:value-of select="$file1"/></file1>
</xsl:template>
Then invoke that stylesheet on a command line that is exactly the same
in all respects other than the stylesheet name. If it works, expand to
all 7 filenames. I hope that will narrow down the situation enough to
make a good Bugzilla report.

If you write to the list with more information, please include the
command line as used in both NY and UNIX.
.................David Marston

Reply via email to