private final Stack<TagElement> stack = new Stack<TagElement>();
public void startMessage( Message msg )
{
stack.clear();
TagElement te = new DefaultTagElement( MESSAGE_TAG );
te.setAttr( null, STRUCT_TYPE_ATTR, msg.type().getId() );
stack.push( te );
}