Lines Matching refs:xml_node_t

53 int xml_validate(struct xml_node_ctx *ctx, xml_node_t *node,  in xml_validate()
115 int xml_validate_dtd(struct xml_node_ctx *ctx, xml_node_t *node, in xml_validate_dtd()
167 void xml_node_free(struct xml_node_ctx *ctx, xml_node_t *node) in xml_node_free()
173 xml_node_t * xml_node_get_parent(struct xml_node_ctx *ctx, xml_node_t *node) in xml_node_get_parent()
175 return (xml_node_t *) ((xmlNodePtr) node)->parent; in xml_node_get_parent()
179 xml_node_t * xml_node_from_buf(struct xml_node_ctx *ctx, const char *buf) in xml_node_from_buf()
191 return (xml_node_t *) node; in xml_node_from_buf()
196 xml_node_t *node) in xml_node_get_localname()
202 char * xml_node_to_str(struct xml_node_ctx *ctx, xml_node_t *node) in xml_node_to_str()
245 void xml_node_detach(struct xml_node_ctx *ctx, xml_node_t *node) in xml_node_detach()
251 void xml_node_add_child(struct xml_node_ctx *ctx, xml_node_t *parent, in xml_node_add_child()
252 xml_node_t *child) in xml_node_add_child()
258 xml_node_t * xml_node_create_root(struct xml_node_ctx *ctx, const char *ns_uri, in xml_node_create_root()
277 return (xml_node_t *) node; in xml_node_create_root()
281 xml_node_t * xml_node_create(struct xml_node_ctx *ctx, xml_node_t *parent, in xml_node_create()
287 return (xml_node_t *) node; in xml_node_create()
291 xml_node_t * xml_node_create_text(struct xml_node_ctx *ctx, in xml_node_create_text()
292 xml_node_t *parent, xml_namespace_t *ns, in xml_node_create_text()
298 return (xml_node_t *) node; in xml_node_create_text()
302 xml_node_t * xml_node_create_text_ns(struct xml_node_ctx *ctx, in xml_node_create_text_ns()
303 xml_node_t *parent, const char *ns_uri, in xml_node_create_text_ns()
313 return (xml_node_t *) node; in xml_node_create_text_ns()
317 void xml_node_set_text(struct xml_node_ctx *ctx, xml_node_t *node, in xml_node_set_text()
325 int xml_node_add_attr(struct xml_node_ctx *ctx, xml_node_t *node, in xml_node_add_attr()
343 char * xml_node_get_attr_value(struct xml_node_ctx *ctx, xml_node_t *node, in xml_node_get_attr_value()
351 char * xml_node_get_attr_value_ns(struct xml_node_ctx *ctx, xml_node_t *node, in xml_node_get_attr_value_ns()
366 xml_node_t * xml_node_first_child(struct xml_node_ctx *ctx, in xml_node_first_child()
367 xml_node_t *parent) in xml_node_first_child()
369 return (xml_node_t *) ((xmlNodePtr) parent)->children; in xml_node_first_child()
373 xml_node_t * xml_node_next_sibling(struct xml_node_ctx *ctx, in xml_node_next_sibling()
374 xml_node_t *node) in xml_node_next_sibling()
376 return (xml_node_t *) ((xmlNodePtr) node)->next; in xml_node_next_sibling()
380 int xml_node_is_element(struct xml_node_ctx *ctx, xml_node_t *node) in xml_node_is_element()
386 char * xml_node_get_text(struct xml_node_ctx *ctx, xml_node_t *node) in xml_node_get_text()
401 char * xml_node_get_base64_text(struct xml_node_ctx *ctx, xml_node_t *node, in xml_node_get_base64_text()
429 xml_node_t * xml_node_copy(struct xml_node_ctx *ctx, xml_node_t *node) in xml_node_copy()
433 return (xml_node_t *) xmlCopyNode((xmlNodePtr) node, 1); in xml_node_copy()