I am trying for a solution to convert an invalid XML to be a valid XML with respect to a given DTD/Schema.I know that we need to define some default assumptions for mandatory elements, but is there any way to do this either with an XSLT transformation or by using a native code either in Java/C#/PERL/Python ??Please share your ideas about this....