System::Xml::Schema::XmlSchemaInference::InferSchema method
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)
Parameter | Type | Description |
---|---|---|
instanceDocument | const SharedPtr<XmlReader>& | An XmlReader object containing the XML document to infer a schema from. |
ReturnValue
An XmlSchemaSet object containing the inferred schemas.
See Also
- Typedef SharedPtr
- Class XmlSchemaSet
- Class XmlReader
- Class XmlSchemaInference
- Namespace System::Xml::Schema
- Library Aspose.Page for C++
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)
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. |
ReturnValue
An XmlSchemaSet object containing the inferred schemas.
See Also
- Typedef SharedPtr
- Class XmlSchemaSet
- Class XmlReader
- Class XmlSchemaInference
- Namespace System::Xml::Schema
- Library Aspose.Page for C++