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( XElement sampleXml )

Parameters

sampleXml
Type: XElement

A sample XML element to infer the schema from.

Return value

Type: Schema
Returns the corresponding Schema object.