GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> XLX / dev > parser / sun-gcc
#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. | |
| int XLX_parse | ( | const char * | filename, | |
| XLX_state * | pState | |||
| ) |
Parse an XML file.
| filename | XML file to parse | |
| pState | State of the parser. |
| 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().
1.5.8