-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On July 8, 2004 03:53 am, Kjetil Kjernsmo wrote: > On onsdag 7. juli 2004, 18:41, Michael A Nachbaur wrote: > > > But then, I need to test whether a parameter exists... In XSP > > > that's straightforward, thanks to the many good taglibs, but I > > > haven't found anything on checking the parameters in XSLT, is it > > > doable? > > > > Well, the most common method I know of doing that is: > > > > <xsl:param name="foo" select="''"/> > > Is that line really necessary....?
Not really. It mainly can be used to supply a default, non-empty, value. So, if you say: <xsl:param name="foo" select="'NULL'"/> and then later say <xsl:if test="$foo = 'NULL'> # No value was supplied </xsl:if> that'd do the trick in determining if simply an empty string was supplied. > > http://nachbaur.com/pgpkey.asc > > Uhm, you didn't get the new key right, but I'll take that in a private > e-mail. :-) Blast it! *sigh* :-) - -- Michael A. Nachbaur <[EMAIL PROTECTED]> http://nachbaur.com/pgpkey.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA7WFfQy51zN2518IRAomrAKDtizeBq2YLGJO74e0nEh3zjnFIkgCgi2OU w8ysDYB5j5lILQRlSrNvquE= =dVcR -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]