separate the contexts of input and output protocols.
add XmlCloth context