Package: cxml-stp

Function string-value

Lambda List

string-value (node)

Arguments

  • node -- an instance of node

Return Value

a string

Details

Returns the string value of node as defined by XPath.

For a document, this is the value of its root element.

For an element, the concatenation of the values of those child nodes is returned that are elements or text nodes. (Leaving only the PCDATA content.)

For a text, comment, and processing instruction nodes, the node's data is returned.

For an attribute, the attribute value is returned.

The value for document types is not specified.
 

See also