xsl-list
[Top] [All Lists]

Re: Pipe Question

2005-06-10 14:45:59

  However, nobody still has answered the question:
 How do you write the select for a parameter to default to empty, not

Yes they did.

To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
In-reply-to: <8dde156b050608132718ae0565(_at_)mail(_dot_)gmail(_dot_)com> 
(message from Karl
      Stubsjoen on Wed, 8 Jun 2005 13:27:11 -0700)
Subject: Re: [xsl] Pipe Question
Content-Type: text
Content-Length: 1920



Where the "()" select will evaluate to an empty sequence when none was
supplied.  I understand that it could be any valid xpath expression.

I forget whether you are using xslt2 or 1, if using one you can't use ()
but you can use /.. to swlwct an empty node set.




David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--