[jcifs] XSLT

Michael B Allen mba2000 at ioplex.com
Fri May 28 05:11:07 GMT 2004


Eric said:
>>>Then just declare "myparam" in the stylesheet:
>>>
>>><xsl:param name="myparam" select="''"/>
>>
>>
>> That works. I didn't have the select="''". What is that all about? I
>> know
>> passing params isn't standard but I didn't have to do that with XT.
>>
>
> I just gave the parameter an empty default value.  Actually that's the
> default if no value is specified, so you could do:
>
> <xsl:param name="myparam"/>
>
> with the same effect.  I just got into the habit of explicitly putting
> an empty value in, because I'd often go back and fill in a default value.

That's what I had and it didn't work. Including the select="''" made it
work. Talk about fickle. Geez. I'm glad I asked.

Mike


More information about the jcifs mailing list