I would appreciate if anybody can help me to key with
cross reference with related elements. The structure
of my XML is :
<root>
<A name="A1">
<property id="1"/>
<property id="2"/>
</A>
<A name="A2">
<property id="1"/>
<property id="3"/>
</A>
<B name="B1">
<property id="1"/>
<property id="2"/>
</B>
<B name="B2">
<property id="1"/>
<property id="3"/>
</B>
</root>
I need to define a key which can give me all <A>
elements which are related to <B> related. The
relatioship is through id attribute of property.
E.g. for <B name="B2"><property id="1"/>, I should get
<A name="A1">
<property id="1"/>
</A>
<A name="A2">
<property id="1"/>
</A>.
regards,
Ranjan
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--