This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is it possible to generate Java classes from XML?

 
Saurabh Pillai
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't have schema file.

[Edit :- Removed 'JAXB' from subject, I want to be able to generate Java classes from XML using any technology.]
 
Koen Aerts
Ranch Hand
Posts: 344
Java Linux Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think it's possible without a schema. Can you generate a schema from the XML with XMLSpy? More info here: http://bitrazor.com/content/tivo/hme/howtos/jaxb/index.php
 
Saurabh Pillai
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Koen. I did go on the same path as you pointed. But I used different tool, XML Schema Definition Tool from Microsoft.

Somehow my company firewall is blocking the page you pointed out saying it is categorized as 'Games'. :-)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic