Complete review of Xml pattern matching - Attributes are not yet matched