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

Re: contains any child nodes attribute value

Subject: Re: contains any child nodes attribute value
From: florian <csshsh@xxxxxxxxxxxxxxx>
Date: Wed, 11 Jun 2003 18:57:03 +0200
nodes.attribute



you are right =)



if i have this input doc:


<foo name="a basket with a orange">
  <bar name="orange" />
  <bar name="apple" />
  <bar name="pear" />
</foo>

output: true

(because the name attribute of the first bar appear in the
foo name attribute)

another input

<foo name="a basket with some fruits">
  <bar name="orange" />
  <bar name="apple" />
  <bar name="pear" />
</foo>

output: false
(because none of the bars name attribute appears in
the foo name attribute)


thanks alot!


ciao!
florian



On Mittwoch, Juni 11, 2003, at 06:18 Uhr, David Carlisle wrote:


but how can i define in xpath all the foo attributes of the child
nodes? (replacing oranges in that case)

sorry your description was very unclear as to where the respective strings were supposed to be (which is why I answered in that form), as always it's best to give a small sample input doc and expected result.

David

_______________________________________________________________________ _
This e-mail has been scanned for all viruses by Star Internet. 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


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.