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

Re: It's going to work, even if it kills me

Subject: Re: It's going to work, even if it kills me
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 27 Jun 2001 22:45:06 +0100
Re:  It's going to work

> "In theory xsl can do anything, but what exactly is your problem?" - 
> David Carlisle, from the XSL-list

Did I really say that? Not one of my more helpful answers...

Note that even if $keywords was a node set, doing

                <xsl:with-param name="keywords">
			<xsl:value-of select="$keywords"/>
               </xsl:with-param>

would not pass  a node set to the templates,

Firstly value-of converts a node set to a string (by taking the string
value of the first node, and discarding all other nodes)

You could use copy-of instead, but then using xsl:with-param in
a form with element content would convert that node set to a result tree
fragment. You can't query into a result tree fragment in standard XSLT
(although most systems provide a node-set extension function to conver
the rtf back to a node set)

You want 
<xsl:with-param name="keywords" select="$keywords"/>
then you pass in the node set.

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

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.