title: XSD to XForms and XForms to XSD conversion
body: <p>Currently I am struggling with two problems:</p>
  
  <ol>
  <li>I am receiving from outer server an XSD file and based on this file I have to generate XForm. Usually the XSD file is importing many other XSD files and so on.</li>
  <li>I am writing a GUI with XForm builder. When the user builds his custom XForm I need to generate from it an XSD file and send it back to the outer server.</li>
  </ol>
  
  <p>Major question is: Is it possible to write those two converters which generate files and complies with the standard (XML Schema and XForms)?
  Do you know any existing library offering conversion between those two formats: XSD and XHTML?</p>
  
  <p>It is important to mention that all constraints (not empty, numeric value, etc) need to be transformed as well.</p>
  
  <p>I have only basic knowledge about XML technologies (XLS, XPath, XQuery...) so any suggestion will be helpful.</p>