Creates an XML Schema object by providing the XSD document and any referenced XSDs.

Namespace: Docentric.Documents.Reporting.TemplateManagement.Metadata.Xml
Assembly: Docentric.Documents.Reporting (in Docentric.Documents.Reporting.dll)
public static Schema FromXsd( String sourceFilePath, Stream xsdStream, Stream[] refrencedXsdStreams )

Parameters

sourceFilePath
Type: String

An XML file used for the schema creation.

xsdStream
Type: Stream

The XSD to be imported/used as the XML schema for the data source.

refrencedXsdStreams
Type: Stream[]

The array of XSD schemas referenced by the main XSD.

Return value

Type: Schema
Returns the corresponding Schema object.