phillip nash wrote:Within my loop. I've managed to create the above BUT i'm having to create a new Employee node every time i.e Employee1, employee2. I'm unable to use a single element i.e Employee and add the various employees using that element.
Okay... so what's the problem? There are several Employee nodes in the document, so why wouldn't you expect to be creating several Employee nodes in your program? That seems perfectly normal to me. So maybe I'm misunderstanding what you said there.