Hi Henrik,
THanks for the response, but that doesnt give me what I wanted.
I need to be able to retrive the root node name, in the exmaple this would be "Order".
The method of doing this is with the function "name(/*)" according to Google.
Thank you
Graham