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

determine existence of preceding element

Subject: determine existence of preceding element
From: "Matthew L. Avizinis" <mla@xxxxxxxxx>
Date: Fri, 29 Oct 2004 09:31:30 -0400
style name element
Hello and boo to all,
I'm not seeing the solution at the moment.
possible scenario (there could be any number of each of the following elements):
1 <text:p text:style-name="module-title">
2 <text:p text:style-name="sub-module-title">
3 <text:p>
4 <text:p text:style-name="sub-module-title">
5 <text:p>
6 <text:p>
7 <text:p text:style-name="sub-module-title">
8 <text:p>
9 <text:p>
10 <text:p>
11 <text:p text:style-name="module-title">
12 <text:p text:style-name="sub-module-title">
13 <text:p>
14 <text:p text:style-name="sub-module-title">


what I need to determine is this:
what test will tell me if there are any preceding <text:p text:style-name="sub-module-title">s which follow the first preceding <text:p text:style-name="module-title"> of the currently visited <text:p text:style-name="sub-module-title">. For instance, sub-module-titles on lines 4, 7, and 14 above would be true and those on lines 2 and 12 would be false


in advance, much thanks,
Matthew L. Avizinis <mailto:mla@xxxxxxxxx>
at
Gleim Publications, Inc. <http://www.gleim.com>

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.