ValidateAttribute()
Contents
[
Hide
]XmlSchemaValidator::ValidateAttribute(const String&, const String&, const String&, const SharedPtr<XmlSchemaInfo>&) method
Validates the attribute name, namespace URI, and value in the current element context.
SharedPtr<Object> System::Xml::Schema::XmlSchemaValidator::ValidateAttribute(const String &localName, const String &namespaceUri, const String &attributeValue, const SharedPtr<XmlSchemaInfo> &schemaInfo)
Arguments
Parameter | Type | Description |
---|---|---|
localName | const String& | The local name of the attribute to validate. |
namespaceUri | const String& | The namespace URI of the attribute to validate. |
attributeValue | const String& | The value of the attribute to validate. |
schemaInfo | const SharedPtr<XmlSchemaInfo>& | An XmlSchemaInfo object whose properties are set on successful validation of the attribute. This parameter can be nullptr. |
Return Value
The validated attribute’s value.
XmlSchemaValidator::ValidateAttribute(const String&, const String&, XmlValueGetter, const SharedPtr<XmlSchemaInfo>&) method
Validates the attribute name, namespace URI, and value in the current element context.
SharedPtr<Object> System::Xml::Schema::XmlSchemaValidator::ValidateAttribute(const String &localName, const String &namespaceUri, XmlValueGetter attributeValue, const SharedPtr<XmlSchemaInfo> &schemaInfo)
Arguments
Parameter | Type | Description |
---|---|---|
localName | const String& | The local name of the attribute to validate. |
namespaceUri | const String& | The namespace URI of the attribute to validate. |
attributeValue | XmlValueGetter | An XmlValueGetter callback used to pass the attribute’s value as a type compatible with the XML Schema Definition Language (XSD) type of the attribute. |
schemaInfo | const SharedPtr<XmlSchemaInfo>& | An XmlSchemaInfo object whose properties are set on successful validation of the attribute. This parameter and can be nullptr. |
Return Value
The validated attribute’s value.
See Also
- Typedef SharedPtr
- Typedef XmlValueGetter
- Class Object
- Class String
- Class XmlSchemaInfo
- Class XmlSchemaValidator
- Namespace System::Xml::Schema
- Library Aspose.Slides