[NTG-context] xmldoif: checking for contents of attribute