Method List
Query Language Methods
Return type in brackets
(absolute-first-sibling?
nd
)
(absolute-last-sibling?
nd
)
(attributes
nd
)
: Returns the attributes (named-node-list)
(attribute-string
string nd
)
: Returns the value of attribute
string
(string)
(child-number
nd
)
: Returns the child number of
nd
.
(children
nd
)
: Returns the children of nd (node-list)
(current-node)
: Returns the current node in a construction rule (node-list)
(data
nd
)
: Returns the data of
nd
(string)
(descendants
nd
)
: Returns recursively all children (node-list)
(element-number
nd
)
: "Returns the number of elements before or equal to
snl
with the same gi as
snl
."
(first-sibling?
nd
)
(gi
nd
)
: Returns the generic identifier of nd as (string)
(last-sibling?
nd
)
(named-node-list-names (attributes nd))
(node-list-empty?
nd
)
: Returns the tail nodes (=cdr) (node-list)
(node-list-first
nd
)
: Returns the head node (=car) (node-list)
(node-list-length
nd
)
: Returns the tail nodes (=cdr) (node-list)
(node-list-rest
nd
)
: Returns the tail nodes (=cdr) (node-list)
(node-property
property-name nd
)
: Returns the tail nodes (=cdr) (node-list)
(select-elements
nd pattern
)
: Returns all nodes matching pattern (node-list)
Style Language Methods
Return type sosofo
(empty-sosofo)
: Returns an empty sosofo; for deleting data
(literal
string
)
: Returns
string
as text
(make simple-page-sequence
content
)
: Generates an empty page
(make paragraph
content
)
: Generates a paragraph
(process-children
nd
)
: Returns the processed children of
nd
(process-node-list
nd
)
: Processes nd
(sososfo-append
sosofo1 sosofo2
)
: Concatenates
sosofo1
and
sosofo2
.
Miscellaneous
Inserting
newlines
Index