[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: node comparision for equality
Subject: Re: node comparision for equality
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Wed, 14 Jun 2006 00:27:34 +0200
|
uppaluri satyaprasad wrote:
however i need to also test if
BusPartnerCodeValue (i.e. D06001 here) and BusPartnerCodeTypeCode (i.e.
00003) are equal in two nodes within BPPLCode.
if these two values are equal, the BPPLCode nodes are equal and i shall
process only one node.
we can ignore ProductLevel/ProductLevelCode here.
This looks like the "select distinct" problem, which you can solve
with an approach described here:
http://jenitennison.com/xslt/grouping/index.xml
Use grouping by content, using
concat(BusPartnerCodeType/BusPartnerCodeTypeCode,':',BusPartnerCodeValue)
as key indicator.
(unfortunately, http://jenitennison.com/xslt/unique.xml is a stub).
J.Pietschmann
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
RSS 2.0 |
|
Atom 0.3 |
|
|