xmlNotationPtr xmlAddNotationDecl (xmlDtdPtr dtd, const CHAR *name, const CHAR *PublicID, const CHAR *SystemID); |
Register a new notation declaration
| dtd : | pointer to the DTD |
| name : | the entity name |
| PublicID : | the public identifier or NULL |
| SystemID : | the system identifier or NULL |
| Returns : | NULL if not, othervise the entity |
xmlNotationTablePtr xmlCopyNotationTable (xmlNotationTablePtr table); |
Build a copy of a notation table.
| table : | A notation table |
| Returns : | the new xmlNotationTablePtr or NULL in case of error. |
void xmlFreeNotationTable (xmlNotationTablePtr table); |
Deallocate the memory used by an entities hash table.
| table : | An notation table |
void xmlDumpNotationTable (xmlBufferPtr buf, xmlNotationTablePtr table); |
This will dump the content of the notation table as an XML DTD definition
NOTE: TODO an extra parameter allowing a reentant implementation will be added.
| buf : | |
| table : | A notation table |
xmlElementContentPtr xmlNewElementContent (CHAR *name, int type); |
Allocate an element content structure.
| name : | the subelement name or NULL |
| type : | the type of element content decl |
| Returns : | NULL if not, othervise the new element content structure |
xmlElementContentPtr xmlCopyElementContent (xmlElementContentPtr content); |
Build a copy of an element content description.
| content : | An element content pointer. |
| Returns : | the new xmlElementContentPtr or NULL in case of error. |
void xmlFreeElementContent (xmlElementContentPtr cur); |
Free an element content structure. This is a recursive call !
| cur : | the element content tree to free |
xmlElementPtr xmlAddElementDecl (xmlDtdPtr dtd, const CHAR *name, int type, xmlElementContentPtr content); |
Register a new element declaration
| dtd : | pointer to the DTD |
| name : | the entity name |
| type : | the element type |
| content : | the element content tree or NULL |
| Returns : | NULL if not, othervise the entity |
xmlElementTablePtr xmlCopyElementTable (xmlElementTablePtr table); |
Build a copy of an element table.
| table : | An element table |
| Returns : | the new xmlElementTablePtr or NULL in case of error. |
void xmlFreeElementTable (xmlElementTablePtr table); |
Deallocate the memory used by an element hash table.
| table : | An element table |
void xmlDumpElementTable (xmlBufferPtr buf, xmlElementTablePtr table); |
This will dump the content of the element table as an XML DTD definition
NOTE: TODO an extra parameter allowing a reentant implementation will be added.
| buf : | |
| table : | An element table |
xmlEnumerationPtr xmlCreateEnumeration (CHAR *name); |
create and initialize an enumeration attribute node.
| name : | the enumeration name or NULL |
| Returns : | the xmlEnumerationPtr just created or NULL in case of error. |
void xmlFreeEnumeration (xmlEnumerationPtr cur); |
free an enumeration attribute node (recursive).
| cur : | the tree to free. |
xmlEnumerationPtr xmlCopyEnumeration (xmlEnumerationPtr cur); |
Copy an enumeration attribute node (recursive).
| cur : | the tree to copy. |
| Returns : | the xmlEnumerationPtr just created or NULL in case of error. |
xmlAttributePtr xmlAddAttributeDecl (xmlDtdPtr dtd, const CHAR *elem, const CHAR *name, int type, int def, const CHAR *defaultValue, xmlEnumerationPtr tree); |
Register a new attribute declaration
| dtd : | pointer to the DTD |
| elem : | the element name |
| name : | the attribute name |
| type : | the attribute type |
| def : | the attribute default type |
| defaultValue : | the attribute default value |
| tree : | if it's an enumeration, the associated list |
| Returns : | NULL if not, othervise the entity |
xmlAttributeTablePtr xmlCopyAttributeTable (xmlAttributeTablePtr table); |
Build a copy of an attribute table.
| table : | An attribute table |
| Returns : | the new xmlAttributeTablePtr or NULL in case of error. |
void xmlFreeAttributeTable (xmlAttributeTablePtr table); |
Deallocate the memory used by an entities hash table.
| table : | An attribute table |
void xmlDumpAttributeTable (xmlBufferPtr buf, xmlAttributeTablePtr table); |
This will dump the content of the attribute table as an XML DTD definition
NOTE: TODO an extra parameter allowing a reentant implementation will be added.
| buf : | |
| table : | An attribute table |