ValidateElement()
Contents
[
Hide
]XmlSchemaValidator::ValidateElement(const String&, const String&, const SharedPtr<XmlSchemaInfo>&) method
Validates the element in the current context.
void System::Xml::Schema::XmlSchemaValidator::ValidateElement(const String &localName, const String &namespaceUri, const SharedPtr<XmlSchemaInfo> &schemaInfo)
Arguments
Parameter | Type | Description |
---|---|---|
localName | const String& | The local name of the element to validate. |
namespaceUri | const String& | The namespace URI of the element to validate. |
schemaInfo | const SharedPtr<XmlSchemaInfo>& | An XmlSchemaInfo object whose properties are set on successful validation of the element’s name. This parameter can be nullptr. |
XmlSchemaValidator::ValidateElement(const String&, const String&, const SharedPtr<XmlSchemaInfo>&, const String&, const String&, const String&, const String&) method
Validates the element in the current context with the xsi:Type, xsi:Nil, xsi:SchemaLocation, and xsi:NoNamespaceSchemaLocation attribute values specified.
void System::Xml::Schema::XmlSchemaValidator::ValidateElement(const String &localName, const String &namespaceUri, const SharedPtr<XmlSchemaInfo> &schemaInfo, const String &xsiType, const String &xsiNil, const String &xsiSchemaLocation, const String &xsiNoNamespaceSchemaLocation)
Arguments
Parameter | Type | Description |
---|---|---|
localName | const String& | The local name of the element to validate. |
namespaceUri | const String& | The namespace URI of the element to validate. |
schemaInfo | const SharedPtr<XmlSchemaInfo>& | An XmlSchemaInfo object whose properties are set on successful validation of the element’s name. This parameter can be nullptr. |
xsiType | const String& | The xsi:Type attribute value of the element. This parameter can be nullptr. |
xsiNil | const String& | The xsi:Nil attribute value of the element. This parameter can be nullptr. |
xsiSchemaLocation | const String& | The xsi:SchemaLocation attribute value of the element. This parameter can be nullptr. |
xsiNoNamespaceSchemaLocation | const String& | The xsi:NoNamespaceSchemaLocation attribute value of the element. This parameter can be nullptr. |
See Also
- Typedef SharedPtr
- Class String
- Class XmlSchemaInfo
- Class XmlSchemaValidator
- Namespace System::Xml::Schema
- Library Aspose.Slides