Meeseeks v0.11.0 Meeseeks.TupleTree View Source
HTML documents in Elixir/Erlang have traditionally been represented by a tuple-tree like:
{"html", [], [
{"head", [], []}
{"body", [], [
{"h1", [{"id", "greeting"}], ["Hello, World!"]}]}]}
:mochiweb_html
parsed HTML into this format, and the tools for selecting
HTML used this format, so html5ever
(the Elixir NIF) choose to output
to this format as well.
Meeseeks accepts tuple-trees as input, creating Meeseeks.Document
s from
them.
Link to this section Summary
Link to this section Types
Link to this type
comment()
View Source
comment()
View Source
comment() :: {:comment, String.t()}
comment() :: {:comment, String.t()}
Link to this type
doctype() View Source
Link to this type
element() View Source
Link to this type
node_t()
View Source
node_t()
View Source
node_t() ::
comment() | doctype() | element() | processing_instruction() | text()
node_t() :: comment() | doctype() | element() | processing_instruction() | text()
Link to this type
processing_instruction() View Source
Link to this type
text()
View Source
text()
View Source
text() :: String.t()
text() :: String.t()