Creates an XML Schema object by infering the schema information from the given sample XML.

Namespace: Docentric.Documents.Reporting.TemplateManagement.Metadata.Xml
Assembly: Docentric.Documents.Reporting (in Docentric.Documents.Reporting.dll)
public static Schema FromSampleXml( Stream sampleXmlStream )

Parameters

sampleXmlStream
Type: Stream

A sample XML element Stream to infer the schema from.

Return value

Type: Schema
Returns the corresponding Schema object.