libopc
All Data Structures Files Functions Typedefs Enumerations Enumerator Macros Pages
Functions
xmlreader.h File Reference
#include <opc/config.h>
#include <libxml/xmlreader.h>
#include <mce/textreader.h>

Go to the source code of this file.

Functions

opc_error_t opcXmlReaderOpen (opcContainer *container, mceTextReader_t *mceTextReader, const xmlChar *partName, const char *URL, const char *encoding, int options)
 
xmlDocPtr opcXmlReaderReadDoc (opcContainer *container, const xmlChar *partName, const char *URL, const char *encoding, int options)
 

Function Documentation

opc_error_t opcXmlReaderOpen ( opcContainer container,
mceTextReader_t mceTextReader,
const xmlChar *  partName,
const char *  URL,
const char *  encoding,
int  options 
)

Open an MCE reader for partName. Parameters URL, encoding and options will be passed unmodified to http://xmlsoft.org/html/libxml-xmlreader.html#xmlReaderForIO and they can we NULL, NULL, 0.

Note
Make sure the part exists.
See also
opcPartFind
Examples:
opc_part.c, opc_text.c, opc_xml.c, and opc_xml2.c.
xmlDocPtr opcXmlReaderReadDoc ( opcContainer container,
const xmlChar *  partName,
const char *  URL,
const char *  encoding,
int  options 
)

Returns an libxml DOM document. Parameters URL, encoding and options will be passed unmodified to http://xmlsoft.org/html/libxml-parser.html#xmlReadIO and they can we NULL, NULL, 0.

Note
Make sure the part exists.
See also
opcPartFind
Examples:
opc_generate.c.