Implementing IXmlWriter

Implementing IXmlWriter

This is my implementing IXmlWriter post series

  1. The Basics
  2. Escaping Element Content
  3. Supporting WriteElementString()
  4. Collapsing Empty Elements
  5. Supporting WriteAttributeString()
  6. Escaping Attribute Content
  7. Cleaning Up
  8. Supporting WriteStartAttribute() and WriteEndAttribute()
  9. Supporting WriteStartDocument() and WriteEndDocument()
  10. Supporting WriteComment()
  11. Supporting Namespaces
  12. Supporting Pretty-Printing
  13. Putting IXmlWriter Behind A Pimpl Firewall
  14. Supporting Writing To A Stream