There is a system, analogous to generic words, for processing XML. A word can dispatch off the name of the tag that is passed to it. To define such a word, use
TAGS:


and to define a new 'method' for this word, use
TAG: