When working with the xmlWriter
interface, there's only one
object you use, which is the xmlWriter
itself. It is used
similarly to how you would use a writing file handle - you simply give
it data you want converted into XML.
See the Using the xmlWriter
section
(here) for more information.