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

Is it possible in XSLT -- Please help us ....

Subject: Is it possible in XSLT -- Please help us ....
From: "Ramesh" <lak_ram@xxxxxxxxx>
Date: Tue, 10 Jul 2001 19:16:14 -0500
 Is it possible in XSLT -- Please help us ....
Hi all,
Please help us!!!

We have two different nodesets (say for example hazmat and hazmatlang). both can repeat n number of times in the same file. 
What we want to achieve is to compare hazmat nodesets with each of the hazmatlang  nodeset for one of the common element (hazcode) to be of the same value.

1. If it matches then we must get the hazmatlang node values for the matched node alone.

2. If it not matches then we must print the hazmat node values alone. 

3.  We may have more number of hazmatlang node sets than the hazmat nodes. We have to handle that also.

Additional info.. If I may be wrong in explaining the node sets.
Hazmat node sets -
<hazmat>
 <hazcode>hc1</hazcode>
<otherproperties> ...</otherproperties>
</hazmat>
...
Hazmatlang node sets -
<hazmatlang>
 <hazcode>hc1</hazcode>
 <otherproperties> ...</otherproperties>
 <additional other properties for lang> ...</additional other properties for lang>
</hazmatlang>

...

Thanks in advance.
Ramesh



Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/

 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.