Module xml::common [] [src]

Contains common types and functions used throughout the library.

Structs

TextPosition

Represents a position inside some textual document.

Enums

XmlVersion

XML version enumeration.

Traits

Position

Get the position in the document corresponding to the object

Functions

is_name_char

Checks whether the given character is a name character (NameChar) as is defined by XML 1.1 specification, section 2.3.

is_name_start_char

Checks whether the given character is a name start character (NameStartChar) as is defined by XML 1.1 specification, section 2.3.

is_whitespace_char

Checks whether the given character is a white space character (S) as is defined by XML 1.1 specification, section 2.3.

is_whitespace_str

Checks whether the given string is compound only by white space characters (S) using the previous is_whitespace_char to check all characters of this string