pub unsafe fn create_content_model(
name: *const xmlChar,
type_: c_int,
) -> *mut _xmlElementContentExpand description
Create a new element content model node.
§UPSTREAM-PARITY
xmlElementContentPtr xmlNewElementContent(const xmlChar *name, int type);Creates a content model node with the given name and type.
The ocur field is set to XML_ELEMENT_CONTENT_ONCE by default.
§SAFETY
namemay be NULL (for PCDATA and connector types).