Amending XML Array Value

Greetings all my beautiful Kirupa land people!

I’m working on a project that involves sorting of an XML array based upon Senoculars “Introduction to XML”… I’ve managed to amend this to my needs but I’m currently stuck trying to amend the value of a node using this method… Does anyone out there know how to achieve this and would they be fluffy enough to point me in the right direction…?

Thanks in advance

Peace, love and flowers…