xmlReadFile Third parameter

  1. typedef enum {
  2.     XML_PARSE_RECOVER        = 1<<0,        /* recover on errors */
  3.     XML_PARSE_NOENT        = 1<<1,        /* substitute entities */
  4.     XML_PARSE_DTDLOAD        = 1<<2,        /* load the external subset */
  5.     XML_PARSE_DTDATTR        = 1<<3,        /* default DTD attributes */
  6.     XML_PARSE_DTDVALID        = 1<<4,        /* validate with the DTD */
  7.     XML_PARSE_NOERROR        = 1<<5,        /* suppress error reports */
  8.     XML_PARSE_NOWARNING        = 1<<6,        /* suppress warning reports */
  9.     XML_PARSE_PEDANTIC        = 1<<7,        /* pedantic error reporting */
  10.     XML_PARSE_NOBLANKS        = 1<<8,        /* remove blank nodes */
  11.     XML_PARSE_SAX1        = 1<<9,        /* use the SAX1 interface internally */
  12.     XML_PARSE_XINCLUDE        = 1<<10,/* Implement XInclude substitition  */
  13.     XML_PARSE_NONET        = 1<<11,/* Forbid network access */
  14.     XML_PARSE_NODICT        = 1<<12,/* Do not reuse the context dictionnary */
  15.     XML_PARSE_NSCLEAN        = 1<<13,/* remove redundant namespaces declarations */
  16.     XML_PARSE_NOCDATA        = 1<<14,/* merge CDATA as text nodes */
  17.     XML_PARSE_NOXINCNODE= 1<<15,/* do not generate XINCLUDE START/END nodes */
  18.     XML_PARSE_COMPACT   = 1<<16 /* compact small text nodes; no modification of
  19.                                    the tree allowed afterwards (will possibly
  20.                                    crash if you try to modify the tree) */
  21. } xmlParserOption;

Leave a Reply