Attributes

Getting a list of all attribute names

(named-node-list-names (attributes nd))
returns a list of the names of all attributes of nd.

E.g. <TEST A="test" B="abc C="...">
(named-node-list-names (attributes nd)) of this node would return ("A" "B" "C")

(attributes nd)

Returns the attributes of the node nd in a named-node-list.
A named-node-list is a node-list. Additional every node has a name.
Here the attribute-name is the name of a node.

(named-node-list-names nnl)

Returns a list of the names of the members of nnl.

Getting the attribute values

(attribute-string string nd)

Returns the value of the attribute string.

E.g. <TEST A="test" B="abc C="...">
(attribute-string "B" nd)) of this node would return "abc"


Stylesheets


Next: Node properties
Index