substituteNode
Gets a substitute for a node, if one is available; otherwise, returns the original node.
Parameters
hint
A hint as to the intended usage of the node.
node
The node to substitute.
Gets a substitute for a node, if one is available; otherwise, returns the original node.
A hint as to the intended usage of the node.
The node to substitute.