new WBSAXAttributeValueSizer(accumulator);
AttributesInternalIterator attributesSummer =
new VisitorAttributesIterator(nameSummer,
attributeValueSummer);
// Calculate the size of the element name.
delement.accept(nameSummer);
// Calculate the size of the attributes
if (delement.hasAttributes()) {
delement.forEachAttribute(attributesSummer);
}
// Add one for the content end marker if will be one.