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

Re: Node selection question - Correction

Subject: Re: Node selection question - Correction
From: "Sebastian Rahtz" <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 15 Feb 2000 22:54:34 +0000 (GMT)
Re: Node selection question - Correction
Respess, Christe writes:
 > 
 > I just found that the statement I included in my previous message does
 > not actually do what I need done.  It seems to be equivalent to
 > <xsl:apply-templates select="//INFO-OBJ" />.  So now my question is how
 > to formulate a statement such as the one below so that it will return a
 > collection of all INFO-OBJ elements that are not children of INFO-OBJ
 > elements?

process all INFO-OBJ elements, but add an empty template for the ones
with I-O parents

<xsl:apply-templates select=".//INFO-OBJ"/>
...

<xsl:template match="INFO=OBJ/INFO-OBJ"/>


sebastian


 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.