pub unsafe fn validate_one_element(
ctxt: *mut _xmlValidCtxt,
doc: *mut _xmlDoc,
elem: *mut _xmlNode,
) -> c_intExpand description
Upstream xmlValidateOneElement(ctxt, doc, elem) — validates a single
element against its declaration (content model + attributes), WITHOUT
recursing into children.
§SAFETY
ctxtmay be NULL;doc/elemvalid pointers or NULL.