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

Checking for existence

Subject: Checking for existence
From: "alex chang" <shortestpath@xxxxxxxxxxx>
Date: Fri, 30 Jun 2000 08:22:35 EDT
jbs trading sa
I have xml that looks like this:
--------------------------------
<row>
<row-header>
<ae-id n="1" rows="0" idval="5/30/00" idurl="5%2F30%2F00">5/30/00</ae-id>
<ae-desc n="2" rows="0" idval="2" idurl="2">ROL</ae-desc>
<ae-id n="3" rows="0" idval="04156" idurl="04156">04156</ae-id>
<ae-id n="4" rows="0" idval="JBS TRADING SA" idurl="JBS+TRADING+SA">JBS
TRADING SA</ae-id>
<st-header cols="1"></st-header>
</row-header>
<st><mv n="1" uf=""></mv></st>
<st><mv n="2" uf=""></mv></st>
<st><mv n="3" uf=""></mv></st>
<st><mv n="4" uf="953598.26">953,598.26</mv></st>
<st><mv n="5" uf="976433.798566">976,433.80</mv></st>
<st><mv n="6" uf="607138.063695972">607,138.06</mv></st>
</row>

What I want to do is to print the text of all the children of <row-header>, but only if <st-header> does not exist. So in the above, I would -not- print anything. Is there a way to do this?

Thanks,
-alex
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


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.