What im looking to do is put a xsl variable's value and set it as a new variable's name.

My Problem:

There is an entry in an xml file (that i dont have control over) that is a long string of search values. It looks something like this:

```
jobSearch=12345;nameSearch=Joe;colorSearch=Blue

```

The problem is that the terms don't always appear in the same order or appear at all, sometimes it can be:

```
colorSearch=Blue;jobSearch=12345;nameSearch=Joe

```

or even just:

```
jobSearch=12345

```

I can split the string into its indiviual components but i cant seem to figure out how to link the search type to the search value. I would like to call upon these variables later in my xsl by the search type. I thought a could maybe do this in a call template loop but then when i left that the variables would be out of scope. Any help would be much appreciated.
Thank you.

Edit: I am using XSLT 1.0 and in terms of accessing the terms later in looking to do a key-value pair as Daniel Haley stated just in 1.0