Allows to create a complete node configuring not only the node but its content, using a printf-like format. This handy function, like axl_node_parse_strings, allows to create complex xml structures providing the inline content. Here is an example: axlNode * node = axl_node_parse (NULL, "<content attr='value' attr2='value'>This is content</content>"); The previous call will create a node called content with the provided attributes and content, in one step. The node returned can be integrated into a xml document using usual API, for example: axl_node_set_child or axl_doc_set_root.
|