Testing XmlPyxReader

You could have been using the ReadToConsole program to test your work as you were going along, and I certainly encourage that practice. Now that XmlPyxReader is done, though, you definitely should test it. Here’s the output I got when I ran it:

NodeType=Element Name="po" Value="" NodeType=EndElement Name="date" Value="" NodeType=Element Name="address" Value="" NodeType=Element Name="name" Value="" NodeType=Text Name="" Value="Frits Mendels" NodeType=EndElement Name="name" Value="" NodeType=Element Name="street" Value="" NodeType=Text Name="" Value="152 Cherry St" NodeType=EndElement Name="street" Value="" NodeType=Element Name="city" Value="" NodeType=Text Name="" Value="San Francisco" NodeType=EndElement Name="city" Value="" NodeType=Element Name="state" Value="" NodeType=Text Name="" Value="CA" NodeType=EndElement Name="state" Value="" NodeType=Element Name="zip" Value="" NodeType=Text Name="" Value="94045" NodeType=EndElement Name="zip" Value="" NodeType=EndElement Name="address" Value="" NodeType=Element Name="address" Value="" NodeType=Element Name="name" Value="" NodeType=Text Name="" Value="Frits Mendels" NodeType=EndElement Name="name" Value="" NodeType=Element Name="street" Value="" NodeType=Text Name="" Value="PO Box 6789" NodeType=EndElement Name="street" Value="" NodeType=Element Name="city" Value="" NodeType=Text Name="" Value="San Francisco" NodeType=EndElement Name="city" Value="" NodeType=Element Name="state" Value="" NodeType=Text Name="" Value="CA" ...

Get .NET & XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.