<xml-element>
A class representing an XML element.
Exported from
Module simple-xml
Modifiers
concrete free sealed
Make keywords
name:
An instance of
<string>
. Required.
attributes:
An instance of
<string-table>
. Optional.
text:
An instance of
<string>
. Defaults to “”.
Superclasses
<xml-node>
Functions on <xml-element>
document-element-setter
node-attribute
node-attribute-setter
node-attributes
node-children
node-name
node-text
node-text-setter
select-node-text
select-nodes
select-single-node
Functions returning <xml-element>
document-element
document-element-setter
node-children
select-nodes
select-single-node
The simple-xml module provides basic XML parsing and navigation.
The class of sequences with elements that are characters.
A <table> class keyed by strings.
A class representing an XML node.
Sets the root element of an <xml-document>.
Returns the value of an attribute of an <xml-element>.
Sets the value of an attribute of an <xml-element>.
Returns all the attributes of an <xml-element> in a table.
Returns the child elements of an <xml-element>.
Returns the tag name of an <xml-element>.
Returns the character data of an <xml-element>.
Sets the character data of an <xml-element>.
Returns the character data of the first XML element matching a path.
Returns nodes matching a path.
Returns the first XML element matching a path.
Returns the root element of an <xml-document>.