Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: generate a XSD schema from a XML file

  1. #1
    Junior Member
    Join Date
    Mar 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default generate a XSD schema from a XML file

    Hye,

    I would like to parse a XML file with JAXB, but it generates Java classes only from XSD schema
    To do that, I use online converter.
    So I would like to know if there i a way to generate a XSD chema from a XML file (maybe with JAXB api ?)

    Thanks.


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: generate a XSD schema from a XML file

    This thread has been cross posted here:

    http://www.java-forums.org/xml/86235-generate-xsd-schema-xml-file.html

    Although cross posting is allowed, for everyone's benefit, please read:

    Java Programming Forums Cross Posting Rules

    The Problems With Cross Posting

    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. xml file parsing using xsd file in Java
    By gowri in forum What's Wrong With My Code?
    Replies: 2
    Last Post: October 11th, 2013, 01:13 PM
  2. xsd to Xml
    By krishna in forum What's Wrong With My Code?
    Replies: 1
    Last Post: July 10th, 2013, 06:02 AM
  3. bracket and possible XML/XSD questions :)
    By neomeo in forum What's Wrong With My Code?
    Replies: 0
    Last Post: June 19th, 2013, 01:53 AM
  4. convert excel to xml and read the input from xml file
    By rahulruns in forum Object Oriented Programming
    Replies: 5
    Last Post: April 3rd, 2012, 11:13 AM
  5. Validate JSON according XSD schema
    By edrozim in forum Java Theory & Questions
    Replies: 2
    Last Post: February 23rd, 2011, 10:42 AM