private static void printStructured(StructuredFieldValue s, XmlStream xml) {
        Iterator<Map.Entry<Field, FieldValue>> it = s.iterator();
        while (it.hasNext()) {
            Map.Entry<Field, FieldValue> val = it.next();
            xml.beginTag(val.getKey().getName());
            val.getValue().printXml(xml);
            xml.endTag();
        }
    }
Date: Apr 17, 2008

@author <a href="mailto:humbe@yahoo-inc.com">H&aring;kon Humberset</a>
document/src/main/java/com/yahoo/document/serialization/XmlSerializationHelper.java