Hi I have an XML document that is similar to the following:

<?xml version="1.0" encoding="utf-8"?>
<Root>
<Items>
<Item ItemID="1">
TEST1
</Item>
<Item ItemID="2">
TEST2
</Item>
<Item ItemID="3">
TEST3
</Item>
</Items>
</Root>

What I would like to do is have a text box and a button on a form where the user can type in say 'TEST4' and have this added to <Items> in the xml. I would also like to check if the text typed in to the text box already exists in <Items> before it is added. Is there anyway to do this?

Kind Regards