Selectively Matching XML Tags
Just wanted to let you know about a new ANTLR Fieldguide entry:
How do you pay attention to data marked up with your XML tags, but
allow random HTML junk as plain text? This field guide entry shows
you the trick involved.
Everything is XML-based these days. If you have a file full of data,
chances are you are using markup tags to describe the contents. I recently
helped Richard Wallace enhance the pattern/template description language,
AIML, for his cool Alice chatterbot. The fieldguide entry describes the
trick I used to parse Alice data.
Check out Alice at: