Hi,

I want to add this line <user id="5" ready="No" collected="No" /> in my XML document. How can i do it? After sorting this, I'll update and delete selected nodes later. I you can also helping me doing all, i would be very grateful. Javascript please.

Thanks

<users>
	<user id="1" ready="No" collected="No" />
	<user id="2" ready="No" collected="No" />
	<user id="3" ready="Yes" collected="No" />
	<user id="4" ready="Yes" collected="Yes" />
</users>