I just wrote my second method that reads an XML stream with XmlReader
and spits out a instance of an object that represents the XML stream.
In effect, this was a simple recursive descent parser that uses the
XmlReader as a tokenizer.
Realizing this naturally led to the question: Are there any tools
which would let me supply a description of the domain semantics
(perhaps in XSD) and which would construct a parser shell that can
turn a (say) <Foo> element into an instance of a Foo object, leaving
me only the task of parsing the attributes and storing child elements
in the proper fields?
I did a few Google searches that didn't turn up anything, but that's
never very conclusive ....
--
www.midnightbeach.com