Main Page   Modules   Compound List   File List   Compound Members   File Members   Related Pages  

wbxml_tree_clb_xml.c File Reference

WBXML Tree Callbacks for XML Parser (Expat). More...

#include <string.h>
#include "wbxml.h"

Include dependency graph for wbxml_tree_clb_xml.c:

Include dependency graph

Go to the source code of this file.

Functions

WBXMLTreeAttributeconstruct_attribute_list (const WBXMLLangEntry *lang_table, const XML_Char **attrs)
 Construct a Tree Attribute List.

void add_node_to_tree (WBXMLTreeNode *node, WBXMLTreeClbCtx *ctx)
 Add a Node to Tree.

void wbxml_tree_clb_xml_doctype_decl (void *ctx, const XML_Char *doctypeName, const XML_Char *sysid, const XML_Char *pubid, int has_internal_subset)
 Doctype Declaration Callback.

void wbxml_tree_clb_xml_start_element (void *ctx, const XML_Char *localName, const XML_Char **attrs)
 Start Element Callback.

void wbxml_tree_clb_xml_end_element (void *ctx, const XML_Char *localName)
 End Element Callback.

void wbxml_tree_clb_xml_start_cdata (void *ctx)
 Start of CDATA Section Callback.

void wbxml_tree_clb_xml_end_cdata (void *ctx)
 End of CDATA Section Callback.

void wbxml_tree_clb_xml_characters (void *ctx, const XML_Char *ch, int len)
 Characters Callback.

void wbxml_tree_clb_xml_pi (void *ctx, const XML_Char *target, const XML_Char *data)
 Processing Instruction Callback.


Detailed Description

WBXML Tree Callbacks for XML Parser (Expat).

Author:
Aymerick Jéhanne <libwbxml@jehanne.org>
Date:
03/03/11

Definition in file wbxml_tree_clb_xml.c.


Function Documentation

void add_node_to_tree WBXMLTreeNode   node,
WBXMLTreeClbCtx   ctx
[static]
 

Add a Node to Tree.

Parameters:
node The Node to add
ctx The Tree Context

Definition at line 406 of file wbxml_tree_clb_xml.c.

Referenced by wbxml_tree_clb_wbxml_characters(), wbxml_tree_clb_wbxml_start_element(), wbxml_tree_clb_xml_characters(), wbxml_tree_clb_xml_end_element(), and wbxml_tree_clb_xml_start_element().

WBXMLTreeAttribute * construct_attribute_list const WBXMLLangEntry   lang_table,
const XML_Char **    attrs
[static]
 

Construct a Tree Attribute List.

Parameters:
lang_table The Language Table we are dealing with
attrs The Attribute Table to Duplicate
Returns:
The Attribute List, or NULL if Error

Definition at line 343 of file wbxml_tree_clb_xml.c.

Referenced by wbxml_tree_clb_wbxml_start_element(), and wbxml_tree_clb_xml_start_element().


Generated on Mon Nov 24 20:09:46 2003 for WBXML Library by doxygen1.3-rc1