32 #include "../api_core.h"
62 CDATA_SECTION_TOKEN = 4,
63 ENTITY_REFERENCE_TOKEN = 5,
65 PROCESSING_INSTRUCTION_TOKEN = 7,
67 DOCUMENT_TYPE_TOKEN = 10,
79 typedef std::pair<std::string, std::string>
Attribute;
XML token in a XML file.
Definition: xml_token.h:42
TokenVariant variant
The token variant.
Definition: xml_token.h:85
std::string name
The name of the token.
Definition: xml_token.h:88
std::vector< Attribute > attributes
All the attributes attached to the token.
Definition: xml_token.h:94
TokenType type
The token type.
Definition: xml_token.h:82
TokenVariant
Definition: xml_token.h:71
TokenType
Definition: xml_token.h:57
XMLToken()
Definition: xml_token.h:48
std::string value
Returns the value of the token.
Definition: xml_token.h:91
std::pair< std::string, std::string > Attribute
Definition: xml_token.h:79