Or perhaps you should be using an entirely separate schema that happens to be in the same target Namespace? Some of these large sets of schemas seem to be written without any real consideration of how they will be used.

xmlvalidatingreader tutorial-49

At its most basic level, XML Schema Definition (XSD) is used to define the elements that can occur in an XML document.

XSD documents are themselves written in XML, and you use a separate predefined element (named Validating Product Catalog_

Is there perhaps another schema that imports or includes the one you are using and defines the manifest element?

If so then that would be the schema to add to the Xml Schema Collection.

The include or import element would have a schema Location attribute that would point to the schema you are currently using.

Or perhaps you should be using an entirely separate schema that happens to be in the same target Namespace?

Write Start Element("Table") create Node(1, "Product 1", "1000", writer) create Node(2, "Product 2", "2000", writer) create Node(3, "Product 3", "3000", writer) create Node(4, "Product 4", "4000", writer) writer.

Close() End Sub Private Sub create Node(By Val p ID As String, By Val p Name As String, By Val p Price As String, By Val writer As Xml Text Writer) writer.

Or perhaps you should be using an entirely separate schema that happens to be in the same target Namespace? Add(s Schema, new Xml Text Reader(s Schema)); The first parameter (which you are passing s Schema into), should be the namespace i.e.