Ok, I can do this of course: icon.nextSibling.attributes.x = 200; How about text? I've tried a few variations on these values: icon.nextSibling.nodeValue CDATA etc. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110118/9c324653/attachment.html>