2.1.2.2 nodeFromID

The nodeFromID method returns the node that matches the ID attribute.

Parameters

sID

The string containing the value of the ID to match.

Return Values

Returns the node that matches the supplied ID. If no nodes match, returns null.