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

Exclude by Sibling Condition

Subject: Exclude by Sibling Condition
From: Michael B Allen <mba2000@xxxxxxxxxx>
Date: Thu, 1 Dec 2005 16:53:14 -0500
 Exclude by Sibling Condition
Considering the following XML fragment:
      
  <page name="p0" tab="products"/>
  <page name="p1" tab="products"/>
  <page name="p2" tab="products"/>
  <page name="d" tab="downloads"/>
  <page name="s" tab="support"/>
      
How can I select a subset that excludes elements with a tab attribute
value matching that of a previous sibling?
     
Meaning I want a list with no redundant @tab values like:
     
  <page name="p0" tab="products"/>
  <page name="d" tab="downloads"/>
  <page name="s" tab="support"/>
     
Thanks, 
Mike

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.