how to write xsd for the following xml?

Posted by Venkats on Stack Overflow See other posts from Stack Overflow or by Venkats
Published on 2010-12-22T07:44:46Z Indexed on 2010/12/22 7:54 UTC
Read the original article Hit count: 195

Filed under:
|
   <?xml version="1.0"?>
   <datatype xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"             
         xs:noNamespaceSchemaLocation="sampletype.xsd">
    <table name="emp">
      <columns>
       <column>
          <name>emp_id</name>
          <data_type>int(200) </data_type>
       </column>
      </columns>
     </table>
    </datatype>

Here i generate the xsd for above xml, but it was not correct. can you help me generate the xsd for the xml? thanks in advance.

© Stack Overflow or respective owner

Related posts about Xml

Related posts about xsd-validation