Source code which is used to convert xml file into xsd file using

Posted on 2007-10-15
Last Modified: 2013-12-17
Hi Experts,

       I have xml file for eg. abc.xml  I want to convert this abc.xml into abc.xsd file  using code.How can I do this by code. Any source code will be very helpful.
Question by:HanuSoftware
    LVL 14

    Expert Comment

    XML to XSD ?
    you want to create a Schema definition based on your XML file ???
    its not called as CONVERTION...becos a XSD is noramlly used to defining a XML ...what is that you really want ?
    LVL 96

    Accepted Solution

    You can use the XSD Inference utility:

    Using the XSD Inference Utility

    LVL 1

    Expert Comment

    Forced accept.

    EE Admin

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
    In my previous two articles we discussed Binary Serialization ( and XML Serialization ( In this article we will try to know more about SOAP (Simple Object Acces…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now