implemented a class that write the XML Schema to file