Fixed some name prefixing thing where we weren't saving links to child
nodes properly.
Escaped some XML things.
Escaped the & character by itself in node names.