generate-id( )
string
generate-id(node-set node
)string
generate-id( )
The generate-id( )
function returns a string that can be used as the value of an
ID type attribute. This function always produces the
same string for the same node and a different string for a
different node. If the node-set contains more than one node, then
only the first node in the set is considered. If the argument is
omitted, then the node-set is set to the context node. If the
node-set is empty, then the empty string is returned.