XSLT-accessed query params and testing existance

2004-07-07 Thread Kjetil Kjernsmo
Hi all! I'm working on a problem where the situation is that I have an XSP page with a form, and once it is submitted, I want to display an identical form, and to use the form content for the fields that were submitted if they exist, otherwise, I want to populate the fields with data from

Re: XSLT-accessed query params and testing existance

2004-07-07 Thread Michael A Nachbaur
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On July 7, 2004 07:56 am, Kjetil Kjernsmo wrote: But this is of little use, because I'd like to have a single template replacing all the possible parameters, so instead of $title, I should use the @name (i.e. the name attribute of the val:insert

Re: XSLT-accessed query params and testing existance

2004-07-07 Thread S . Woodside
xsl:choose xsl:when test=$url_parameter != '' !-- it was set -- /xsl:when xsl:otherwise !-- it was not set -- /xsl:otherwise /xsl:choose simon On Jul 7, 2004, at 10:56 AM, Kjetil Kjernsmo wrote: But then, I need to test whether a parameter exists... In XSP that's straightforward,