Construct a character string that uniquely identifies this node. Note: a.isSameNode(b) if and only if generateId(a)==generateId(b)
@param buffer a buffer which will be updated to hold a stringthat uniquely identifies this node, across all documents.
@since 8.7
Changed in Saxon 8.7 to generate the ID value in a client-supplied buffer