Re: [xsl] forwarding only existing parameter

Subject: Re: [xsl] forwarding only existing parameter
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 17 Sep 2001 14:05:40 +0100
> Cause i have the following structure

so I guessed:-)
what I meant was don't do that, do something else (perhaps)
either arrange that your parameter s never empty, but always has the
default value, or let the default value be empty and in your specific-item1
test for empty and do the default action. Depending on how many
templates pass on the parameter one of these approaches may (or may not)
end up looking nicer than the code you had working.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread