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

xpath: select parents following-siblings child :)

Subject: xpath: select parents following-siblings child :)
From: Jimmy <jimmy@xxxxxxxxxxxxxx>
Date: Mon, 04 Sep 2006 16:54:13 +0200
xpath select first child
I don't seem to be able to get this to work. I'm inside the text:h element of the first section and like to get the text:p node of the next section.

XPath:
../../following-sibling::text:section/text:p

XML:
<text:section text:style-name="Sect1" text:name="f20" text:protected="true">
<text:h text:style-name="TestLesson" text:outline-level="1">
<text:variable-set text:name="navTitle" text:display="none" text:formula="ooow:Navititel" office:value-type="string" office:string-value="Navititel"/>F20 Test</text:h>
</text:section>


<text:section text:style-name="Sect1" text:name="entry" text:protected="true">
<text:p text:style-name="TestEntry">Entry</text:p>
</text:section>


cheers

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.