Subject: Keeping a map in my XSL
From: "Kevin L. Cobb" <kevin.cobb@xxxxxxxxxxxx>
Date: Tue, 13 Sep 2005 11:24:34 -0400
|
I want to be able to set a variable that is retreived from my XML I am
parsing to a mapped values. For example, lets say I have an XML map that
looks like this:
<map>
<key>12345</key><value>abcde</key>
<key>78910</key><value>lmnop</value>
</map>
My source XML has the value '12345' in a certain field. I retreive the
field as usual in XSL and then I want to get the mapped value of this
field. The map above is "included" in my XSL. Is there a best way to do
this in XSL?
Thanks,
Kevin
|