I've looked at several examples using google. All the examples sort on an XML
attribute, but I want to sort on a value of a particular tag.
>From the example below I want to sort on the first name value. I can get the
>value with xmlList.values.value.(id == 2).data
but how do I get this into a sortField.
<xml>
<object>
<id></id>
<values>
<value>
<id>2</id>
<name>first name</name>
<data>Aaron</data>
</value>
<value>
<id>3</id>
<name>last name</name>
<data>Cordova</data>
</value>
...
</values>
</object>
...
</xml>