Make the writer formatting match the expected results and change tests
so that differences in the line.separator don't cause the tests to fail.
remove unused import
Reapply the fix to avoid duplicate xmlns bug
Merge pull request #22 from sesuncedu/new-xmlwriter-fix

Reapply the fix to avoid duplicate xmlns bug
MERGE DONE