ADC Home > Reference Library > Reference > Darwin > Miscellaneous User Space API Reference

 


xmlreader.h

Includes:

Introduction



Typedefs


xmlParserProperties


typedef enum { 
    XML_PARSER_LOADDTD = 1, 
    XML_PARSER_DEFAULTATTRS = 2, 
    XML_PARSER_VALIDATE = 3, 
    XML_PARSER_SUBST_ENTITIES = 4 
} xmlParserProperties;  
Discussion

xmlParserProperties:

Some common options to use with xmlTextReaderSetParserProp, but it is better to use xmlParserOption and the xmlReaderNewxxx and xmlReaderForxxx APIs now.


xmlParserSeverities


typedef enum { 
    XML_PARSER_SEVERITY_VALIDITY_WARNING = 1, 
    XML_PARSER_SEVERITY_VALIDITY_ERROR = 2, 
    XML_PARSER_SEVERITY_WARNING = 3, 
    XML_PARSER_SEVERITY_ERROR = 4 
} xmlParserSeverities;  
Discussion

xmlParserSeverities:

How severe an error callback is when the per-reader error callback API is used.


xmlReaderTypes


typedef enum { 
    XML_READER_TYPE_NONE = 0, 
    XML_READER_TYPE_ELEMENT = 1, 
    XML_READER_TYPE_ATTRIBUTE = 2, 
    XML_READER_TYPE_TEXT = 3, 
    XML_READER_TYPE_CDATA = 4, 
    XML_READER_TYPE_ENTITY_REFERENCE = 5, 
    XML_READER_TYPE_ENTITY = 6, 
    XML_READER_TYPE_PROCESSING_INSTRUCTION = 7, 
    XML_READER_TYPE_COMMENT = 8, 
    XML_READER_TYPE_DOCUMENT = 9, 
    XML_READER_TYPE_DOCUMENT_TYPE = 10, 
    XML_READER_TYPE_DOCUMENT_FRAGMENT = 11, 
    XML_READER_TYPE_NOTATION = 12, 
    XML_READER_TYPE_WHITESPACE = 13, 
    XML_READER_TYPE_SIGNIFICANT_WHITESPACE = 14, 
    XML_READER_TYPE_END_ELEMENT = 15, 
    XML_READER_TYPE_END_ENTITY = 16, 
    XML_READER_TYPE_XML_DECLARATION = 17 
} xmlReaderTypes;  
Discussion

xmlReaderTypes:

Predefined constants for the different types of nodes.


xmlTextReader


typedef struct _xmlTextReader xmlTextReader;  
Discussion

xmlTextReader:

Structure for an xmlReader context.


xmlTextReaderMode


typedef enum { 
    XML_TEXTREADER_MODE_INITIAL = 0, 
    XML_TEXTREADER_MODE_INTERACTIVE = 1, 
    XML_TEXTREADER_MODE_ERROR = 2, 
    XML_TEXTREADER_MODE_EOF =3, 
    XML_TEXTREADER_MODE_CLOSED = 4, 
    XML_TEXTREADER_MODE_READING = 5 
} xmlTextReaderMode;  
Discussion

xmlTextReaderMode:

Internal state values for the reader.


xmlTextReaderPtr


typedef xmlTextReader *xmlTextReaderPtr;  
Discussion

xmlTextReaderPtr:

Pointer to an xmlReader context.


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.
Last Updated: 2006-06-20