Meeseeks v0.15.1 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!"]}]}]}
To parse a tuple tree use Meeseeks.parse(tuple_tree, :tuple_tree)
Link to this section Summary
Link to this section Types
Link to this type
child_node_t()
View Sourcechild_node_t() :: comment() | element() | processing_instruction() | text()
Link to this type
element()
View Sourceelement() :: {String.t(), [{String.t(), String.t()}], [child_node_t()]}
Link to this type
root_node_t()
View Sourceroot_node_t() :: comment() | doctype() | element() | processing_instruction()