| parserparser — XML parser functions and the XML parser transform implementation. |  | 
Stability Level
Stable, unless otherwise indicated
 
Functions
xmlSecParseFile ()
xmlDocPtr
xmlSecParseFile (const char *filename);
Loads XML Doc from file filename
. We need a special version because of
c14n issue. The code is copied from xmlSAXParseFileWithData() function.
Returns
 pointer to the loaded XML document or NULL if an error occurs.
 
 
xmlSecParseMemory ()
xmlDocPtr
xmlSecParseMemory (const xmlSecByte *buffer,
                   xmlSecSize size,
                   int recovery);
Loads XML Doc from memory. We need a special version because of
c14n issue. The code is copied from xmlSAXParseMemory() function.
Returns
 pointer to the loaded XML document or NULL if an error occurs.
 
 
xmlSecParseMemoryExt ()
xmlDocPtr
xmlSecParseMemoryExt (const xmlSecByte *prefix,
                      xmlSecSize prefixSize,
                      const xmlSecByte *buffer,
                      xmlSecSize bufferSize,
                      const xmlSecByte *postfix,
                      xmlSecSize postfixSize);
Loads XML Doc from 3 chunks of memory: prefix
, buffer
 and postfix
.
Returns
 pointer to the loaded XML document or NULL if an error occurs.
 
 
xmlSecTransformXmlParserGetKlass ()
xmlSecTransformId
xmlSecTransformXmlParserGetKlass (void);
The XML parser transform.
Returns
 XML parser transform klass.
 
 
 
Types and Values
xmlSecTransformXmlParserId
#define             xmlSecTransformXmlParserId
The XML Parser transform klass.