Std.Xml
21 public declarations
- attribute
&Std.Xml.Tag -> Str -> Option[Str]An attribute's value, or nothing when the element has no such attribute.
- child
&Std.Xml.Tag -> Str -> Option[Std.Xml.Tag]The first element inside this one with a given name.
- children
&Std.Xml.Tag -> Str -> Array[Std.Xml.Tag]The elements directly inside this one with a given name.
- decode
Str -> Result[Std.Xml.Tag, Std.Xml.XmlError]What this reads.
- descendants
&Std.Xml.Tag -> Str -> Array[Std.Xml.Tag]Every element anywhere inside this one with a given name.
- element
Str -> Std.Xml.TagAn element with a name and nothing else.
- elements
&Std.Xml.Tag -> Array[Std.Xml.Tag]The elements directly inside this one, in order.
- encode
&Std.Xml.Tag -> StrA document written back out.
- escape
Str -> StrText so that reading it back gives the same text.
- explain
&Std.Xml.XmlError -> StrWhy a document was refused, written for a person to read.
- localName
Str -> StrThe part of a name after its namespace prefix.
- Node
A node of a document.
- path
&Std.Xml.Tag -> Str -> Option[Std.Xml.Tag]An element reached by a path of names, which is how a field is named.
- prefixOf
Str -> Option[Str]The namespace prefix of a name, or nothing when it has none.
- render
&Std.Xml.Tag -> StrOne element written out, and everything inside it.
- Tag
One element: its name, its attributes, and what is inside it.
- text
&Std.Xml.Tag -> StrThe text an element holds, with the text of everything inside it.
- withAttribute
&Std.Xml.Tag -> Str -> Str -> Std.Xml.TagThe same element with one more attribute.
- withChild
&Std.Xml.Tag -> &Std.Xml.Tag -> Std.Xml.TagThe same element with one more element inside it.
- withText
&Std.Xml.Tag -> Str -> Std.Xml.TagThe same element with text inside it.
- XmlError
Why text does not name a document.
