wsdl-schema-glib

Name

wsdl-schema-glib -- 

Synopsis



void        wsdl_schema_glib_start_element  (const xmlDocPtr doc,
                                             const xmlNodePtr node,
                                             const xmlChar **attrs,
                                             const guchar *ns,
                                             const guchar *nsuri,
                                             WsdlErrorMsgFn error_msg);
void        wsdl_schema_glib_end_element    (const xmlNodePtr node,
                                             WsdlErrorMsgFn error_msg);

Description

Details

wsdl_schema_glib_start_element ()

void        wsdl_schema_glib_start_element  (const xmlDocPtr doc,
                                             const xmlNodePtr node,
                                             const xmlChar **attrs,
                                             const guchar *ns,
                                             const guchar *nsuri,
                                             WsdlErrorMsgFn error_msg);

Implements the parsing of the simple Ximian glib schema, by being called by wsdl_parse() via wsdl_schema_start_element() with each node in turn of a schema definition, and constructs a typecode with each valid definition. ns and nsuri are used to set the namespace information for the typecode.

The glib schema has 3 types of element: <element name="" type="">, <struct name=""><element name="" type=""></struct> and <list name="" type="">,

doc :

a pointer to an XML document tree

node :

a pointer to a node within the XML document tree

attrs :

an array of strings containing attributes of node

ns :

a string containing a namespace reference

nsuri :

a string containing a namespace URI

error_msg :

a pointer to a function to be called with any error messages to be displayed


wsdl_schema_glib_end_element ()

void        wsdl_schema_glib_end_element    (const xmlNodePtr node,
                                             WsdlErrorMsgFn error_msg);

Implements the parsing of the simple Ximian glib schema, by being called by wsdl_parse() via wsdl_schema_end_element() with each node in turn of a schema definition, to close the current typecode that is being constructed.

node :

a pointer to a node within an XML document tree.

error_msg :

a pointer to a function to be called with any error messages to be displayed