Fixing identity transform
I discovered that comments were not copied through in the identity
transform. This commit takes care of this issue. Processing instructions
are still not copied through though.