System::Xml::Schema::XmlSchemaValidator::ValidateElement method

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)
ParameterTypeDescription
localNameconst String&The local name of the element to validate.
namespaceUriconst String&The namespace URI of the element to validate.
schemaInfoconst SharedPtr<XmlSchemaInfo>&An XmlSchemaInfo object whose properties are set on successful validation of the element’s name. This parameter can be nullptr.

See Also

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)
ParameterTypeDescription
localNameconst String&The local name of the element to validate.
namespaceUriconst String&The namespace URI of the element to validate.
schemaInfoconst SharedPtr<XmlSchemaInfo>&An XmlSchemaInfo object whose properties are set on successful validation of the element’s name. This parameter can be nullptr.
xsiTypeconst String&The xsi:Type attribute value of the element. This parameter can be nullptr.
xsiNilconst String&The xsi:Nil attribute value of the element. This parameter can be nullptr.
xsiSchemaLocationconst String&The xsi:SchemaLocation attribute value of the element. This parameter can be nullptr.
xsiNoNamespaceSchemaLocationconst String&The xsi:NoNamespaceSchemaLocation attribute value of the element. This parameter can be nullptr.

See Also