Crate xml_tokens

Source

Modules§

serializer

Structs§

AttributeValue
An AttributeValue is contained by the Token::AttributeValue variants.
CDATASection
A CDATASection is contained by the Token::CDATASection variant.
Comment
Represents an XML comment, contained by the Token::Comment variant.
DecCharRef
A DecCharRef is contained by the Token::DecCharRef variant.
EncName
Specifies the character encoding which is being used and is contained by the Token::XMLEncoding variant.
HexCharRef
A HexCharRef is contained by the Token::HexCharRef variant.
NCName
An NCName is contained by the Token::NamespacePrefix variant.
Name
An XML Name is contained by the Token::DoctypeName and Token::EntityRef variants. Contrast this with QName which is defined by the XML Namespaces specification and is used by attributes and elements.
NamespaceValue
A NamespaceValue is contained by the Token::NamespaceValue variant. In XML 1.0 the contained value must be a URI, in XML 1.1 the contained value must be an IRI.
PIData
Represents processing instruction data, contained by the Token::PIData variant.
PITarget
Represents a processing instruction target, contained by the Token::PITarget variant.
ParseTokenError
QName
An XML QName is contained by the Token::ElementStart, Token::ElementEnd and Token::AttributeName variants.
Text
A Text is contained by the Token::Text variant.
Tokenizer

Enums§

ParseTokenErrorKind
Token
Token representing an “atomic unit” of an XML document or XML fragment.
XMLVersion
Specifies the version of XML which is being used and is contained by the Token::XMLVersion variant.