Create a new Alias node, ensuring that the target node has the required anchor.
If node already has an anchor, name is ignored.
Otherwise, the node.anchor value will be set to name,
or if an anchor with that name is already present in the document,
name will be used as a prefix for a new unique anchor.
If name is undefined, the generated anchor will use 'a' as a prefix.
Create a new
Aliasnode, ensuring that the targetnodehas the required anchor.If
nodealready has an anchor,nameis ignored. Otherwise, thenode.anchorvalue will be set toname, or if an anchor with that name is already present in the document,namewill be used as a prefix for a new unique anchor. Ifnameis undefined, the generated anchor will use 'a' as a prefix.