xml_parsec v0.1.0 XML.Parser.Internal View Source

Module containing helper functions used internally by the XML.Parser module. These are heavily related to the internal parsing logic and can change a lot in structure.

Link to this section Summary

Functions

Parses an attribute (key + value) inside an XML tag

Parses an XML comment

Parses attribute (key / value) pair used in the XML prolog

Parses a string in an XML document

Parses an XML tag with no inner contents (e.g. )

Parses an XML tag with inner contents (e.g. contents)

Creates a parser that can parse a top level XML tag

Creates a parser that can parse an entire XML document, including XML prolog

Creates a parser that can parse the XML prolog

Link to this section Types

Link to this type parser() View Source
parser() :: Combine.Parser

Link to this section Functions

Link to this function attribute() View Source
attribute() :: parser()

Parses an attribute (key + value) inside an XML tag.

Link to this function comment_parser() View Source
comment_parser() :: parser()

Parses an XML comment.

Link to this function header_attribute() View Source
header_attribute() :: parser()

Parses attribute (key / value) pair used in the XML prolog.

Link to this function string_parser() View Source
string_parser() :: parser()

Parses a string in an XML document.

Link to this function tag_no_content_parser() View Source
tag_no_content_parser() :: parser()

Parses an XML tag with no inner contents (e.g. ).

Link to this function tag_with_content_parser() View Source
tag_with_content_parser() :: parser()

Parses an XML tag with inner contents (e.g. contents).

Link to this function xml_body_parser() View Source
xml_body_parser() :: parser()

Creates a parser that can parse a top level XML tag.

Link to this function xml_doc_parser() View Source
xml_doc_parser() :: parser()

Creates a parser that can parse an entire XML document, including XML prolog.

Link to this function xml_header_parser() View Source
xml_header_parser() :: parser()

Creates a parser that can parse the XML prolog.