[MOD] Slightly changed SelectNode and updated example.