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

choosing next sibling

Subject: choosing next sibling
From: Anthony Ettinger <apwebdesign@xxxxxxxxx>
Date: Fri, 20 Aug 2004 16:17:53 -0700 (PDT)
xpath next sibling
Hi,

I have a xml doc that looks like this

<Foo>
  <Bar>oneA</Bar>
  <Bar>oneB</Bar>
  <Bar>twoA</Bar>
  <Bar>twoB</Bar>
  <Bar>threeA</Bar>
  <Bar>threeB</Bar>
</Foo>

and I need to have two xpath expressions that will do
the following things:

First one:
1) Select every other sibling starting with the the
first <Bar>.

ie  - oneA, twoA, threeA

and another xpath expression that does this:

2) Select the value of the next sibling of the node in
the first expression.

ie - oneB, twoB, threeB

Thank you,


=====
Anthony Ettinger
Phone: (408) 656-2473
apwebdesign@xxxxxxxxx
http://www.apwebdesign.com


		
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

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.