Subject: RE: How to find all parents having the same child?
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 18 Jun 2003 12:01:08 +0100
|
I suspected as much. It's not two parents having the same child, it's
two parents having different children that share the same name.
This makes it a classic grouping problem, so go and read the Jeni
Tennison tutorial that's been cited twice this morning already.
Michael Kay
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
> Bita Jooooooon
> Sent: 18 June 2003 08:50
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE: How to find all parents having the same child?
>
>
> Here an example:
>
> <Quries>
> <Query name="query1">
> <Query name="query2">
> <Table name="table1"/>
> <Table name="table2"/>
> <Query name="query3">
> <Table name="table3"/>
> </Query>
> </Query>
> </Query>
> <Query name="query4">
> <Table name="table1"/>
> <Table name="table2"/>
> <Table name="table3"/>
> </Query>
> </Queries>
>
> Given that, I would like to extract all parents for
> each leaf like the following:
>
> table3: query4, query3
> table1: query4, query1
> query3: query2
> query2: query1
>
> An example from you on how to get that cross-reference
> list would help me a lot.
>
> regards,
> bjoon
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|