System::Xml::Schema::XmlSchemaCollection::Add methode
XmlSchemaCollection::Add(const SharedPtr<XmlSchema>&) method
Voegt de XmlSchema toe aan de collectie.
SharedPtr<XmlSchema> System::Xml::Schema::XmlSchemaCollection::Add(const SharedPtr<XmlSchema> &schema)
| Parameter | Type | Beschrijving |
|---|---|---|
| schema | const SharedPtr<XmlSchema>& | De XmlSchema om toe te voegen aan de collectie. |
ReturnValue
Het XmlSchema object.
Zie ook
- Typedef SharedPtr
- Class XmlSchema
- Class XmlSchemaCollection
- Namespace System::Xml::Schema
- Library Aspose.Page for C++
XmlSchemaCollection::Add(const SharedPtr<XmlSchema>&, const SharedPtr<System::Xml::XmlResolver>&) method
Voegt de XmlSchema toe aan de collectie. De opgegeven XmlResolver wordt gebruikt om externe referenties op te lossen.
SharedPtr<XmlSchema> System::Xml::Schema::XmlSchemaCollection::Add(const SharedPtr<XmlSchema> &schema, const SharedPtr<System::Xml::XmlResolver> &resolver)
| Parameter | Type | Beschrijving |
|---|---|---|
| schema | const SharedPtr<XmlSchema>& | De XmlSchema om toe te voegen aan de collectie. |
| resolver | const SharedPtr<System::Xml::XmlResolver>& | De XmlResolver die wordt gebruikt om namenruimtes te resolven die worden gerefereerd in include- en import-elementen. Als dit nullptr is, worden externe referenties niet opgelost. |
ReturnValue
De XmlSchema die aan de schemacollectie is toegevoegd.
Zie ook
- Typedef SharedPtr
- Class XmlSchema
- Class XmlResolver
- Class XmlSchemaCollection
- Namespace System::Xml::Schema
- Library Aspose.Page for C++
XmlSchemaCollection::Add(const SharedPtr<XmlSchemaCollection>&) method
Voegt alle namespaces die in de opgegeven collectie zijn gedefinieerd (inclusief hun bijbehorende schema’s) toe aan deze collectie.
void System::Xml::Schema::XmlSchemaCollection::Add(const SharedPtr<XmlSchemaCollection> &schema)
| Parameter | Type | Beschrijving |
|---|---|---|
| schema | const SharedPtr<XmlSchemaCollection>& | De XmlSchemaCollection die u aan deze collectie wilt toevoegen. |
Zie ook
- Typedef SharedPtr
- Class XmlSchemaCollection
- Class XmlSchemaCollection
- Namespace System::Xml::Schema
- Library Aspose.Page for C++
XmlSchemaCollection::Add(const String&, const SharedPtr<XmlReader>&) method
Voegt het schema toe dat zich bevindt in de XmlReader aan de schemacollectie.
SharedPtr<XmlSchema> System::Xml::Schema::XmlSchemaCollection::Add(const String &ns, const SharedPtr<XmlReader> &reader)
| Parameter | Type | Beschrijving |
|---|---|---|
| ns | const String& | De namespace-URI die aan het schema is gekoppeld. Voor XML-schema’s is dit doorgaans de targetNamespace. |
| reader | const SharedPtr<XmlReader>& | XmlReader die het toe te voegen schema bevat. |
ReturnValue
De XmlSchema die aan de schemacollectie is toegevoegd; nullptr als het toegevoegde schema een XDR-schema is of als er compilatiefouten in het schema zijn.
Zie ook
- Typedef SharedPtr
- Class XmlSchema
- Class String
- Class XmlReader
- Class XmlSchemaCollection
- Namespace System::Xml::Schema
- Library Aspose.Page for C++
XmlSchemaCollection::Add(const String&, const SharedPtr<XmlReader>&, const SharedPtr<System::Xml::XmlResolver>&) method
Voegt het schema toe dat zich bevindt in de XmlReader aan de schemacollectie. De opgegeven XmlResolver wordt gebruikt om externe bronnen op te lossen.
SharedPtr<XmlSchema> System::Xml::Schema::XmlSchemaCollection::Add(const String &ns, const SharedPtr<XmlReader> &reader, const SharedPtr<System::Xml::XmlResolver> &resolver)
| Parameter | Type | Beschrijving |
|---|---|---|
| ns | const String& | De namespace-URI die aan het schema is gekoppeld. Voor XML-schema’s is dit doorgaans de targetNamespace. |
| reader | const SharedPtr<XmlReader>& | XmlReader die het toe te voegen schema bevat. |
| resolver | const SharedPtr<System::Xml::XmlResolver>& | De XmlResolver die wordt gebruikt om namespaces te resolven die worden vermeld in include- en import-elementen of het x-schema-attribuut (XDR-schema’s). Als dit nullptr is, worden externe verwijzingen niet opgelost. |
ReturnValue
De XmlSchema die aan de schemacollectie is toegevoegd; nullptr als het toegevoegde schema een XDR-schema is of als er compilatiefouten in het schema zijn.
Zie ook
- Typedef SharedPtr
- Class XmlSchema
- Class String
- Class XmlReader
- Class XmlResolver
- Class XmlSchemaCollection
- Namespace System::Xml::Schema
- Library Aspose.Page for C++
XmlSchemaCollection::Add(const String&, const String&) method
Voegt het schema dat zich op de opgegeven URL bevindt toe aan de schemacollectie.
SharedPtr<XmlSchema> System::Xml::Schema::XmlSchemaCollection::Add(const String &ns, const String &uri)
| Parameter | Type | Beschrijving |
|---|---|---|
| ns | const String& | De namespace-URI die aan het schema is gekoppeld. Voor XML-schema’s is dit doorgaans de targetNamespace. |
| uri | const String& | De URL die het te laden schema specificeert. |
ReturnValue
De XmlSchema die aan de schemacollectie is toegevoegd; nullptr als het toegevoegde schema een XDR-schema is of als er compilatiefouten in het schema zijn.
Zie ook
- Typedef SharedPtr
- Class XmlSchema
- Class String
- Class XmlSchemaCollection
- Namespace System::Xml::Schema
- Library Aspose.Page for C++