src/main/java/de/alpharogroup/xml/to/xsd/XmlToXsdExtensions.java
public static String xmlToXsd(final File xmlFile, final Inst2XsdOptions inst2XsdOptions)
		throws XmlException, IOException
	{
		return xmlToXsd(xmlFile, inst2XsdOptions, new XmlOptions().setSavePrettyPrint());
	}
public static String xmlToXsd(final File xmlFile, final Inst2XsdOptions inst2XsdOptions)
		throws XmlException, IOException
	{
		return xmlToXsd(xmlFile, inst2XsdOptions, new XmlOptions().setSavePrettyPrint());
	}
Returns a xsd String from the given XML file that can used for several purposes.

@param xmlFile
the XML file.
@param inst2XsdOptions
the inst2 xsd options
@return the resulted xsd String
@throws XmlException
occurs when a give xml file is invalid.
@throws IOException
Signals that an I/O exception has occurred.