System::Xml::XPath::XPathNavigator::CheckValidity método
XPathNavigator::CheckValidity method
Verifica que los datos XML en el XPathNavigator cumplan con el esquema del lenguaje de definición de Schema XML (XSD) proporcionado.
virtual bool System::Xml::XPath::XPathNavigator::CheckValidity(SharedPtr<System::Xml::Schema::XmlSchemaSet> schemas, System::Xml::Schema::ValidationEventHandler validationEventHandler)
| Parámetro | Tipo | Descripción |
|---|---|---|
| schemas | SharedPtr<System::Xml::Schema::XmlSchemaSet> | El XmlSchemaSet que contiene los esquemas utilizados para validar los datos XML contenidos en el XPathNavigator. |
| validationEventHandler | System::Xml::Schema::ValidationEventHandler | El ValidationEventHandler que recibe información sobre advertencias y errores de validación de esquemas. |
ReturnValue
true if no schema validation errors occurred; otherwise, false.
Ver también
- Typedef SharedPtr
- Class XmlSchemaSet
- Typedef ValidationEventHandler
- Class XPathNavigator
- Namespace System::Xml::XPath
- Library Aspose.Page for C++