|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Intersection Problem
Hi,
I have two documents that look as follows:
Doc 1:
<statResult>
<drilldowns>
<drilldown>
<drilldownType>Asset Type</drilldownType>
<drilldownName>Asset Type</drilldownName>
</drilldown>
<drilldown>
<drilldownType>Book Location</drilldownType>
<drilldownName>NYC</drilldownName>
</drilldown>
</drilldowns>
</statResult>
<statResult>
<drilldowns>
<drilldown>
<drilldownType>Currency</drilldownType>
<drilldownName>USD</drilldownName>
</drilldown>
</drilldowns>
</statResult>
(* There are many statResult nodes where the drilldowns vary in number and
in content*)
Document 2:
<drilldowns>
<drilldown>
<drilldownType>Currency</drilldownType>
</drilldown>
<drilldowns>
(* There may be several drilldown nodes *)
How I can "Intersect" document 2 with document 1 so that it brings the
<statResult> nodes which have the equal number or more drilldown nodes found
in doc 2. (The intersection key is drilldownType)
Thx,
Carlos Sanchez
The RiskMetrics Group
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








