regularized IsAttr(), IsCdata(), etc