votExpatCB.c File Reference

(Internal) Expat parser XML callback methods More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <expat.h>
#include <unistd.h>
#include <ctype.h>
#include "votParseP.h"
#include "votParse.h"

Functions

void vot_startElement (void *user, const char *name, const char **atts)
 CB whenever a start tag is seen (internal method).
void vot_endElement (void *user, const char *name)
 CB whenever an end tag is seen (internal method).
void vot_charData (void *user, const XML_Char *s, int len)
 Handle non-element character strings (internal method).

Variables

Stack * element_stack


Detailed Description

(Internal) Expat parser XML callback methods

VOTEXPATCB.C -- (Internal) Expat XML Parser callback methods.

Author:
Mike Fitzpatrick and Eric Timmermann
Date:
8/03/09

Function Documentation

vot_charData ( void *  user,
const XML_Char *  s,
int  len 
)

Handle non-element character strings (internal method).

vot_charData -- Handle non-element character strings (internal method)

Parameters:
user User data (not used)
s content string
len length of string
Returns:
nothing

vot_endElement ( void *  user,
const char *  name 
)

CB whenever an end tag is seen (internal method).

vot_endElement -- CB whenever an end tag is seen (internal method)

Parameters:
user User data (not used)
name The name in the XML tag
Returns:
nothing

vot_startElement ( void *  user,
const char *  name,
const char **  atts 
)

CB whenever a start tag is seen (internal method).

vot_startElement -- CB whenever a start tag is seen (internal method)

Parameters:
user User data (not used)
name The name in the XML tag.
atts An array of attributes.
Returns:
nothing


Generated on Wed May 5 16:32:13 2010 for libVOTable by  doxygen 1.5.9