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, XElement xsd, XElement[] refrencedXsds )

Parameters

sourceFilePath
Type: String

An XML file used for the schema creation.

xsd
Type: XElement

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

refrencedXsds
Type: XElement[]

The array of XSD schemas referenced by the main XSD.

Return value

Type: Schema
Returns the corresponding Schema object.