D
Dennis
[[Sorry I couldn't think of a better subject for this rookie question.]]
In my .xml I have something like:
<root>
<parent>
...
<child>
<keynode>thekey</keynode>
</child>
</parent>
...
<parent>
<keynode>thekey</keynode>
<valuenode>thevalue</valuenode>
...
</parent>
</root>
In english, what I would like to do in my .xsl is this:
When processing each /root/parent/child, use the value of keynode
('thekey') to look up a /root/parent somewhere else in the .xml with a
keynode which matches ... and retrieve the corresponding valuenode
('thevalue').
Is this possible?
P.S. I can manage the xsl:for-each part.
TIA,
In my .xml I have something like:
<root>
<parent>
...
<child>
<keynode>thekey</keynode>
</child>
</parent>
...
<parent>
<keynode>thekey</keynode>
<valuenode>thevalue</valuenode>
...
</parent>
</root>
In english, what I would like to do in my .xsl is this:
When processing each /root/parent/child, use the value of keynode
('thekey') to look up a /root/parent somewhere else in the .xml with a
keynode which matches ... and retrieve the corresponding valuenode
('thevalue').
Is this possible?
P.S. I can manage the xsl:for-each part.
TIA,