namecmp


Description:

public bool namecmp (string str, uint ns_id, string name)

Checks to see if str is the same as ns_id::name with either an explicit namespace or the current default namespace.

Parameters:

this

The XMLIn we are reading from.

str

The potentially namespace qualified node name.

ns_id

The name space id to check

name

The target node name

Returns:

true if str == ns_id:name according to state.