InferSchema()
Contents
[
Hide
]XmlSchemaInference::InferSchema(const SharedPtr<XmlReader>&) method
Infers an XML Schema Definition Language (XSD) schema from the XML document contained in the XmlReader object specified.
SharedPtr<XmlSchemaSet> System::Xml::Schema::XmlSchemaInference::InferSchema(const SharedPtr<XmlReader> &instanceDocument)
Arguments
Parameter | Type | Description |
---|---|---|
instanceDocument | const SharedPtr<XmlReader>& | An XmlReader object containing the XML document to infer a schema from. |
Return Value
An XmlSchemaSet object containing the inferred schemas.
XmlSchemaInference::InferSchema(const SharedPtr<XmlReader>&, SharedPtr<XmlSchemaSet>) method
Infers an XML Schema Definition Language (XSD) schema from the XML document contained in the XmlReader object specified, and refines the inferred schema using an existing schema in the XmlSchemaSet object specified with the same target namespace.
SharedPtr<XmlSchemaSet> System::Xml::Schema::XmlSchemaInference::InferSchema(const SharedPtr<XmlReader> &instanceDocument, SharedPtr<XmlSchemaSet> schemas)
Arguments
Parameter | Type | Description |
---|---|---|
instanceDocument | const SharedPtr<XmlReader>& | An XmlReader object containing the XML document to infer a schema from. |
schemas | SharedPtr<XmlSchemaSet> | An XmlSchemaSet object containing an existing schema used to refine the inferred schema. |
Return Value
An XmlSchemaSet object containing the inferred schemas.
See Also
- Typedef SharedPtr
- Class XmlSchemaSet
- Class XmlReader
- Class XmlSchemaInference
- Namespace System::Xml::Schema
- Library Aspose.Slides