--- embedaddon/libxml2/doc/html/libxml-valid.html 2013/07/22 01:22:26 1.1.1.2 +++ embedaddon/libxml2/doc/html/libxml-valid.html 2014/06/15 19:53:36 1.1.1.3 @@ -276,7 +276,7 @@ The content of this structure is not made public by th
Pop the element end from the validation stack.
ctxt: | the validation context |
doc: | a document instance |
elem: | an element instance |
qname: | the qualified name as appearing in the serialization |
Returns: | 1 if no validation problem was found or 0 otherwise |
int xmlValidatePushCData (xmlValidCtxtPtr ctxt,
const xmlChar * data,
int len)
check the CData parsed for validation in the current stack
-ctxt: | the validation context |
data: | some character data read |
len: | the lenght of the data |
Returns: | 1 if no validation problem was found or 0 otherwise |
int xmlValidatePushElement (xmlValidCtxtPtr ctxt,
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * qname)
+
ctxt: the validation context data: some character data read len: the length of the data Returns: 1 if no validation problem was found or 0 otherwise Function: xmlValidatePushElement
int xmlValidatePushElement (xmlValidCtxtPtr ctxt,
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * qname)
Push a new element start on the validation stack.
ctxt: the validation context doc: a document instance elem: an element instance qname: the qualified name as appearing in the serialization Returns: 1 if no validation problem was found or 0 otherwise Function: xmlValidateRoot
int xmlValidateRoot (xmlValidCtxtPtr ctxt,
xmlDocPtr doc)
Try to validate a the root element basically it does the following check as described by the XML-1.0 recommendation: - [ VC: Root Element Type ] it doesn't try to recurse or apply other check to the element