This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: forwarding only existing parameter



> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]