Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: using parent attributes to locate child attributes using parent attributes to locate child attributesTo: NULL Date: 10/1/2004 10:12:00 AM Is it possible w/ xsl to do this transformation:
<foo>
<xs a="mappable" b="mappable" c="mappable" f="house" t="car"
p="notmappable">
<x id="11" a="1" c="2" house="home">
<x id="11" a="1" c="2" house="car">
<x id="11" a="1" c="2" house="dog">
</xs>
<ys j="mappable" k="mappable" l="foo" f="house" t="car" p="notmappable">
<y id="22" j="3" l="4" house="home">
</ys>
</foo>
to
<uniques>
<unique id="11"> <!-- from id="11" cus its an id attribute -->
<unique id="1"> <!-- from a="1" cus its "mappable" in parent's
attributes -->
<unique id="2"> <!-- from a="2" cus its "mappable" in parent's
attributes -->
<unique id="22"> <!-- from id="22" cus its an id attribute -->
<unique id="3"> <!-- from a="3" cus its "mappable" in parent's
attributes -->
</uniques>
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
