Saxy.XML (Saxy v1.5.0) View Source
Helper functions for building XML elements.
Link to this section Summary
Functions
Builds CDATA in simple form.
Builds characters in simple form.
Builds comment in simple form.
Builds element in simple form.
Builds empty element in simple form.
Builds processing instruction in simple form.
Builds reference in simple form.
Link to this section Types
Specs
cdata() :: {:cdata, String.t()}
Specs
characters() :: {:characters, String.t()}
Specs
comment() :: {:comment, String.t()}
Specs
Specs
dec_ref() :: {:reference, {:decimal, integer()}}
Specs
Specs
entity_ref() :: {:reference, {:entity, String.t()}}
Specs
hex_ref() :: {:reference, {:hexadecimal, integer()}}
Specs
Specs
ref() :: entity_ref() | hex_ref() | dec_ref()
Link to this section Functions
Specs
Builds CDATA in simple form.
Specs
characters(text :: term()) :: characters()
Builds characters in simple form.
Specs
Builds comment in simple form.
Specs
element( name :: term(), attributes :: [{key :: term(), value :: term()}], children :: term() ) :: element()
Builds element in simple form.
Specs
Builds empty element in simple form.
Specs
processing_instruction( name :: String.t(), instruction :: String.t() ) :: processing_instruction()
Builds processing instruction in simple form.
Specs
Builds reference in simple form.