Deleting nodes from your datasource

T

Tijn

Hi all,

I've got the following xml in my data source:

<employees>
<employee>
<name>employee1</name>
</employee>
<employee>
<name>employee2</name>
</employee>
<employee>
<name>employee3</name>
</employee>
</employees>

the employees are retrieved through a webservice and shown as a
repeating table with a select button. Once the select button for an
employee is pressed I want to delete all other employees.

Any ideas on how i can do this using Jscript?

Cheers,
Tijn
 
Top