When working with the xmlReader
interface, there's only one
object you use, which is the xmlReader
itself. It is used
similarly to a file handle - you give it a data source (either a file
or a string) and read data from it.
See the Using xmlReader
section
(here) for more information.