Paul Clapham wrote:Yes, I believe there is. Of course when you realize that only the Element nodes have names, that makes it much easier to find the method you're looking for. I don't have the API documentation handy but you should be able to find the method quite easily there.
Thanks, I hadn't realised that Element extended Node - a quick cast and I'm sorted.
Thanks again.