# XSLT generate-id() Function
* * Complete XSLT Function Reference Object](#)
* * *
## Definition and Usage
The generate-id() function returns a string value that uniquely identifies the specified node.
If the specified node-set is empty, an empty string is returned. If the node-set parameter is omitted, it defaults to the current node.
* * *
## Syntax
string generate-id(node-set?)
## Parameters
| Parameter | Description |
| :--- | :--- |
| node-set | Optional. Specifies the node-set for which to generate a unique id. |
### Example 1
Artists:
Artist:
Title:
Price:
(#), (#), (#).
* * Complete XSLT Function Reference Object](#)