Functions | |
bool | axl_dtd_check_entity_ref_and_expand (axlDtdEntityResolver resolver, axlPointer data, axlStream *stream, const char *prefix, axlError **error) |
Allows to check if the stream contains a reference to a entity, calling the resolver to get the replacement text to be placed. | |
bool | axl_dtd_element_is_toplevel (axlDtd *dtd, axlDtdElement *element) |
Allows to check if the provided DTD ELEMENT representation is a top level definition. | |
bool | axl_dtd_entity_exists (axlDtd *dtd, const char *name, axlDtdEntityType type) |
Allows to check if the provided entity name, with the provided type is defined on the given DTD object. | |
char * | axl_dtd_entity_value (axlDtd *dtd, const char *name, axlDtdEntityType type) |
Allows to get the content configured inside the entity that is identified by the provided name and the provided type. | |
void | axl_dtd_free (axlDtd *dtd) |
Allows to destroy the provided axlDtd document. | |
axlDtdAttribute * | axl_dtd_get_attr (axlDtd *dtd, const char *nodeName) |
Allows to get the set of attribute declerations for a particular node. | |
int | axl_dtd_get_attr_contraints (axlDtd *dtd, const char *nodeName) |
Allows to get the number of constraints that have been configured for the particular node. | |
axlDtdElement * | axl_dtd_get_element (axlDtd *dtd, const char *name) |
Allows to get the DTD element (axlDtdElement), inside the provided DTD (axlDtd), that represent the spefication for the node called by the provided name. | |
char * | axl_dtd_get_element_name (axlDtdElement *element) |
Returns the name of the provided axlDtdElement. | |
AxlDtdElementType | axl_dtd_get_element_type (axlDtdElement *element) |
Returns current element type for the provided axlDtdElement. | |
axlDtdElementList * | axl_dtd_get_item_list (axlDtdElement *element) |
Returns current DTD content specification, represented by the Item list. | |
axlDtdElement * | axl_dtd_get_root (axlDtd *dtd) |
Allows to get the root node for the provided DTD. | |
int | axl_dtd_item_list_count (axlDtdElementList *itemList) |
Returns the number of item nodes (axlDtdElementListNode) inside the item list received (axlDtdElementList). | |
axlDtdElementListNode * | axl_dtd_item_list_get_node (axlDtdElementList *itemList, int position) |
Allows to get the provided item node reference (axlDtdElementListNode) from the provided item list (axlDtdElementList). | |
AxlDtdTimes | axl_dtd_item_list_repeat (axlDtdElementList *itemList) |
Allows to get current configuration for DTD content spec repetition. | |
AxlDtdNestedType | axl_dtd_item_list_type (axlDtdElementList *itemList) |
Allows to get current configuration for the provided item list, which is the content specification for a DTD element. | |
axlDtdElementList * | axl_dtd_item_node_get_list (axlDtdElementListNode *node) |
Returns the item list inside the provided node. | |
AxlDtdTimes | axl_dtd_item_node_get_repeat (axlDtdElementListNode *node) |
Allows to get current configuration for the provided content particule for the times to be repeated. | |
NodeType | axl_dtd_item_node_get_type (axlDtdElementListNode *node) |
Allows to get current node type for the provided DTD element type content particule or item node (axlDtdElementListNode). | |
char * | axl_dtd_item_node_get_value (axlDtdElementListNode *node) |
Allows to get the dtd item list value, which represents the node name that is being constrained/represented. | |
axlDtd * | axl_dtd_parse (const char *entity, int entity_size, axlError **error) |
Allows to parse the provided entity, which is expected to contain a DTD (Document Type Definition). | |
axlDtd * | axl_dtd_parse_from_file (const char *file_path, axlError **error) |
Allows to parse the provided DTD definition, which is found on the provided file path. | |
bool | axl_dtd_validate (axlDoc *doc, axlDtd *dtd, axlError **error) |
Allows to validate the given XML document (axlDoc) against the given document type definition (DTD, axlDtd). |