Compartilhar via


generate-id Function (Windows CE 5.0)

Send Feedback

Returns a string that uniquely identifies the node in the node-set argument that is first in document order.

stringgenerate-id(node-set?)

Parameters

  • node-set
    [optional] A node-set.

Return Values

Returns a string that uniquely identifies the node in the node-set argument that is first in document order.

Remarks

The unique identifier must consist of ASCII alphanumeric characters and must start with an alphabetic character. Thus, the string is syntactically an XML name. There is no guarantee that a generated unique identifier will be distinct from any unique IDs specified in the source document. If the node-set argument is empty, the empty string is returned. If the argument is omitted, it defaults to the context node.

Requirements

None.

See Also

XSLT Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.