[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: param - default settings
On Tue, Oct 30 '01 at 10:25, Ingo Friepoertner wrote: > 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. -- Goetz Bock IT Consultant Dipl.-Inf. Univ. Attachment:
pgp00023.pgp
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|