basic binding to get xml doctype

Hi there,

I've been using this binding for a while and figured it was about time to make it official. I ran the tests and they're all still passing. Let me know if there's anything else you want me to do to get this accepted.
should use 4 spaces not 2