XSugar enables one to define a single set of mapping rules between a non-XML and an XML format for the same information. The rule-set can then be used in either direction. This is a far superior approachh to requiring one to write two one-way transformations.