Subject: Re: [xsl] param - default settings From: Ingo Friepoertner <friepoertner@xxxxxxxxxxxxx> Date: Tue, 30 Oct 2001 12:18:50 +0100 |
On Tue, Oct 30 '01 at 10:25, Ingo Friepoertner wrote:Mmmh! I have done that. But it doesn't work ... :-(
I start processing my xml/xsl files with some param's.
I thought I could define default values if some param's were not set . But this doesn't work:
<xsl:param name="abs" select="1" />
This would select the value of the <1> node in the current context, there is no such node and the nodename is invalid anyway
but
<xsl:param name="abs" select="'1'"/>
or
<xsl:param name="abs">1</xsl:param>
both work.
-- Ingo Friepoertner friepoertner@xxxxxxxxxxxxx
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] param - default settings, David Carlisle | Thread | Re: [xsl] param - default settings, Goetz Bock |
Re: [xsl] param - default settings, Oleg Tkachenko | Date | Re: [xsl] param - default settings, Goetz Bock |
Month |