Module : lang.xml
Module Overview
This module provides lang library operations on xml values defined by the language specification 2020R1.
| concat |
Concatenates xml and string values. |
| createComment |
Constructs an xml sequence consisting of only a comment item. |
| createElement |
Constructs an xml sequence consisting of only a new element item. |
| createProcessingInstruction |
Constructs an xml sequence consisting of only a processing instruction item. |
| elements |
Selects the elements from an xml value. |
| filter |
Selects the items from an xml sequence for which a function returns true. |
| forEach |
Applies a function to each item in an xml sequence. |
| fromString |
Constructs an xml value from a string. |
| get |
Returns the item of |
| getAttributes |
Returns the map representing the attributes of |
| getChildren |
Returns the children of |
| getContent |
Returns the content of a text or processing instruction or comment item. |
| getName |
Returns a string giving the expanded name of |
| getTarget |
Returns the target part of the processing instruction. |
| iterator |
Returns an iterator over the xml items of |
| length |
Returns number of xml items in |
| map |
Applies a function to each item in an xml sequence, and returns an xml sequence of the results. |
| setChildren |
Sets the children of |
| setName |
Change the name of element |
| slice |
Returns a subsequence of an xml value. |
| strip |
Strips the insignificant parts of the an xml value. |
| XML_NAMESPACE_URI |
The namespace URI bound to the |
| XMLNS_NAMESPACE_URI |
The namespace URI bound to the |
| space |
The expanded name of the |
| lang |
The expanded name of the |
| base |
The expanded name of the |