Full threadjdnier·If you want to do this rigorously, I suggest you read Robert D. Cameron's excellent paper "REX: XML Shallow Parsing with Regular Expressions" (1998).https://www2.cs.sfu.ca/~cameron/REX.htmlView on HN