Central to all Smooks based transforms is the element "Visitor". All supported transformation technologies (Java, XSLT, StringTemplate, Groovy etc) are hooked into the transformation process through implementation of this interface.
For details of how DOM based processing is supported in Smooks, see the SmooksDOMFilter. Also check out the online flash demo.
The DOMElementVisitor is the central building block within the Smooks DOM processing model. It defines 2 simple methods, both of which the SmooksDOMFilter calls at it iterates over the message/document DOM. The methds are:
SAX based Visitor Transforms are not supported yet. See JIRA Issue.