Hi...
I have an XML file (simplified):
Code:
<Outie>
<Industry name="Industry One">
<Ticker market="Blue" Symbol="AAA" />
<Ticker market="Green" Symbol="BBB" />
</Industry>
<Industry name="Industry Two">
<Ticker market="Green" Symbol="XXX" />
<Ticker market="Blue" Symbol="YYY" />
</Industry>
[Industry repeats]
</Outie>
Output must be:
Code:
Blue Green
Industry One AAA BBB
Industry Two YYY XXX
The Blue column will always appear first in the output, but there are situations (out of my control) where the Green item may appear first in the XML.
Any suggestions on some XSL code to handle this? I have everything else in place but the test/solution for this re-ordering situation.
Thanks!