code: public static void xmlToXsd(final File xmlInputFile, final File xsdOutFile,
  		final Inst2XsdOptions inst2XsdOptions) throws XmlException, IOException
  	{
  		xmlToXsd(xmlInputFile, xsdOutFile, inst2XsdOptions, new XmlOptions().setSavePrettyPrint());
  	}
docs: Creates or update the given xsd output file from the given XML file.
  
  @param xmlInputFile
  the xml input file
  @param xsdOutFile
  the xsd out file
  @param inst2XsdOptions
  the inst2 xsd options
  @throws XmlException
  occurs when a give xml file is invalid.
  @throws IOException
  Signals that an I/O exception has occurred.