XML nodes are now created properly.