[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Pipe Question

Subject: Re: Pipe Question
From: Karl Stubsjoen <kstubs@xxxxxxxxx>
Date: Fri, 10 Jun 2005 08:45:54 -0700
Re:  Pipe Question
> Ummm, actually, I believe David Carlisle answered that question a
> couple of days ago.  select='/..'.

Thanks Jonathan for pointing that out, and sorry that I missed that.
Thanks David!

On 6/10/05, Jon Gorman <jonathan.gorman@xxxxxxxxx> wrote:
> Hi Karl,
>
> > If no value/list supplied for the param use the select.  The select does
> > not initialize/filter the param in any way.  Correct?
>
> Correct it does not filter, although it could be argued it initializes
> in the case that a parameter is not passed in.  It sounds like you get
> the basic idea.
>
>
> >  However, nobody still has answered the question:
> >
> > How do you write the select for a parameter to default to empty, not
> > the original source?
>
> Ummm, actually, I believe David Carlisle answered that question a
> couple of days ago.  select='/..'.
>
> It's also mentioned in the XSLT 1.0 spec under 11.2 Values of
> Variables and Parameters: "One convenient way to specify the empty
> node-set as the default value of a parameter is:
>
> <xsl:param name="x" select="/.."/>"
>
> I don't do much with XSLT 2.0 so I'm not sure how the empty-sequence works.
>
> Jonathan T. Gorman.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.