|
Home >Online Product Documentation >Table of Contents >Generating Temporary IDs for Nodes Generating Temporary IDs for NodesThe generate-id() function, defined in the XSLT recommendation, generates temporary IDs for nodes. FormatThe format for the generate-id() function is as follows: The generate-id() function returns a string that uniquely identifies the node in node-set that is first in document order. This string starts with xln and ends with eight hexadecimal digits. Syntactically, the string is an XML name. If the node-set argument is empty, the generate-id() function returns an empty string. If you omit the node-set argument, the generate-id() function generates a temporary ID for the context node. |