&reftitle.constants; &extension.constants; XMLReader Node Types Constant Value Description XMLReader::NONE (int) 0 No node type XMLReader::ELEMENT (int) 1 Start element XMLReader::ATTRIBUTE (int) 2 Attribute node XMLReader::TEXT (int) 3 Text node XMLReader::CDATA (int) 4 CDATA node XMLReader::ENTITY_REF (int) 5 Entity Reference node XMLReader::ENTITY (int) 6 Entity Declaration node XMLReader::PI (int) 7 Processing Instruction node XMLReader::COMMENT (int) 8 Comment node XMLReader::DOC (int) 9 Document node XMLReader::DOC_TYPE (int) 10 Document Type node XMLReader::DOC_FRAGMENT (int) 11 Document Fragment node XMLReader::NOTATION (int) 12 Notation node XMLReader::WHITESPACE (int) 13 Whitespace node XMLReader::SIGNIFICANT_WHITESPACE (int) 14 Significant Whitespace node XMLReader::END_ELEMENT (int) 15 End Element XMLReader::END_ENTITY (int) 16 End Entity XMLReader::XML_DECLARATION (int) 17 XML Declaration node
XMLReader Parser Options Constant Value Description XMLReader::LOADDTD (int) 1 Load DTD but do not validate XMLReader::DEFAULTATTRS (int) 2 Load DTD and default attributes but do not validate XMLReader::VALIDATE (int) 3 Load DTD and validate while parsing XMLReader::SUBST_ENTITIES (int) 4 Substitute entities and expand references