[xslt] xsl:param works only with numbers as content
- From: "Stephan Otte" <Stephan Otte pcc de>
- To: xslt gnome org
- Subject: [xslt] xsl:param works only with numbers as content
- Date: Thu, 31 May 2001 18:22:16 +0200
Hello,
I have a problem with stylesheet-parameters whose content are not numbers.
The value of them in the result tree is empty!
Stylesheet:
...
<xsl:param name="user">nobody</xsl:param>
<xsl:template match="/">
user: <xsl:value-of select="$user"/>
....
I pass the parameters with "xsltproc --param user stephan" or use the default in
the
stylesheet by omitting it in the command line, the result is the same.
If the content is a number, everything works!
Any help?
Stephan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]