XmlCloth improvements