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

Re: multiple node values not being returned

Subject: Re: multiple node values not being returned
From: Rahil <qamar_rahil@xxxxxxxxxxx>
Date: Fri, 20 May 2005 13:22:09 +0100
Re:  multiple node values not being returned
David Carlisle wrote:


Do you want to generate text (as here) or element nodes (as in your
original message in this thread) the techniques required are rather
different in the two cases.


All I want is a check if there are any A/Values present in the B node set. If they do exist then I'll do something else. So I dont stop here. Just making my querying more complex step-by-step. This next step will require me to extract nodes and create some text in .html output. But not at present.


<xsl:value-of select="if ($oVal[contains(.,current())]) then . else ()"/>



I tried out a few working solutions but kept your original one in case Id need to use it elsewhere. The rest I know... that one I didnt, so kept it. But I think using the statement above saves some more characters on the line and does the same thing. But Ill comment out and keep the earlier one too :).

Thanks
Rahil

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.