XSLT generate-id() Function
Complete XSLT function reference
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 argument is omitted, it defaults to the current node.
Syntax
string generate-id(node-set?)
Parameters
| Parameters | Description |
|---|---|
| node-set | Optional. Specifies the node-set for which to generate a unique id. |
Example 1
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> Title: Price: Artists:
View the XML file、 View the XSL file、 View the result。
Complete XSLT function reference