xsl-list
[Top] [All Lists]

Keeping a map in my XSL

2005-09-13 08:24:34
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


--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>