• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about generating XSD

 
Susan Smith
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a question regarding generating XSD files.

I saw example in w3schools.com: http://www.w3schools.com/Schema/schema_howto.asp
It looks like this in the root element when you want to have an XML file refer to an XSD.


When I tried generating the XSD from the XML (I'm using "Oxygen XML Editor"), there are two files generated. For example if my XML file name is test.xml, it will generate two XSD: test.xsd and xsi.xsd

test.xsd:


xsi.xsd


My question is: should I include this part below before or after I generate the XSD?


Since if I don't include this part, it looks like that it only generates one file, the test.xsd

Thanks in advance for all your help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic