ctx.startTagAttributes(m_index, m_name).
attribute(m_index, getSizeAttributeName(), map.size()).
closeStartContent();
// loop through all entries in map
Iterator iter = map.entrySet().iterator();
while (iter.hasNext()) {
Map.Entry entry = (Map.Entry)iter.next();
ctx.startTagAttributes(m_index, getEntryElementName());
ctx.attribute(m_index, getKeyAttributeName(),
entry.getKey().toString());