Module xml::common

source ·
Expand description

Contains common types and functions used throughout the library.

Structs§

  • Represents a position inside some textual document.

Enums§

Traits§

  • Get the position in the document corresponding to the object

Functions§

  • Checks whether the given character is a name character (NameChar) as is defined by XML 1.1 specification, section 2.3.
  • Checks whether the given character is a name start character (NameStartChar) as is defined by XML 1.1 specification, section 2.3.
  • Checks whether the given character is a white space character (S) as is defined by XML 1.1 specification, section 2.3.
  • 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