|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








