GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> XLX / dev > parser / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

parse.c File Reference

XML parser. More...

#include <XLX_p.h>
#include <EXPAT/expat.h>
#include <stdlib.h>
#include <stdio.h>

Functions

int XLX_parse (const char *filename, XLX_state *pState)
 Parse an XML file.


Detailed Description

XML parser.

Author:
James Swain & Owen Saxton
Id
parse.c,v 1.11 2011/03/25 21:01:49 saxton Exp

Function Documentation

int XLX_parse ( const char *  filename,
XLX_state pState 
)

Parse an XML file.

Parameters:
filename XML file to parse
pState State of the parser.
Return values:
0 If the file is successfully parsed
-1 If the file cannot be opened
-1 If there is an error creating the parser control structure
-1 If there is an error reading the file
-1 If there is an error parsing the XML

References _XLX_state::error, _XLX_state::fName, _XLX_state::parser, _XLX_state::verbose, XLX_character(), XLX_dispFileName(), XLX_doctype(), XLX_end(), and XLX_start().


Generated on Mon Mar 28 10:23:33 2011 by  doxygen 1.5.8