Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The following is the invalid XML source file for the SAXErrorHandling example.
XML Source File (books.xml)
In Visual Studio, create the XML file, as listed below. Save the file in the debug directory that contains the newly built executable.
<?xml version="1.0"?>
<books>
<book id="bk001">
<author>Writer</author>
<title>The First Book</title>
<genre>Fiction</genre>
<price>44.95</price>
<pub_date>2000-10-01</pub_date>
<review>An amazing story of nothing.</review>
</book>
<book id="bk002">
<author>Poet</author>
<title>The Poet's First Poem</title>
<genre>Poem</genre>
<price>24.95</price>
<review>Least poetic poems
</book>
</books>