Ha, I did not think about that as it seems a little strange, seeing that the 'x' is not an attribute of the element but a text childNode. It works though so, will update.