Saxon API for .NET |

# SchemaValidator.SetSource Method

Supply the instance document to be validated in the form of an XdmNode

#### Overload List

Supply the instance document to be validated in the form of an XdmNode

> public void SetSource(XdmNode);

Supply the instance document to be validated in the form of a Stream

> public void SetSource(Stream,Uri);

Supply the instance document to be validated in the form of a Uri reference

> public void SetSource(Uri);

Supply the instance document to be validated, in the form of an XmlReader.

> public void SetSource(XmlReader);

#### See Also

SchemaValidator Class | Saxon.Api Namespace