Dispatch the invocation depending on this type to the visitor.
visitor
void accept(XmlVisitor visitor);