Replacing tabs with spaces.
Fixes #5
Fixing potential issues where invalid parent could be set.
Merge pull request #6 from shortstuffsushi/master

Add Parent to XmlNode