This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes generation of xml from xsd Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "generation of xml from xsd" Watch "generation of xml from xsd" New topic

generation of xml from xsd

saxena neera

Joined: Apr 21, 2012
Posts: 10
Hi Folks,

Please advise for any plugin that can be installed in eclipse indigo 3.7 through which we can generate the xml file from an xsd.
Bill Gorder

Joined: Mar 07, 2010
Posts: 1646

You don't need a plugin this is built in. Just right click the file in project explorer and select Generate -> XML File in the context menu

[How To Ask Questions][Read before you PM me]
Tim Moores

Joined: Sep 21, 2011
Posts: 2408
Note that for any XSD there is an infinite number number of valid XML documents, so the utility of this is dubious. What is the reason you want to do this?
I agree. Here's the link:
subject: generation of xml from xsd
Similar Threads
MS Exchange web service: If the 'nillable' attribute is false in the schema, the 'xsi:nil' attribute
converting xsd to html
xml and JaxB without xsd
How to Convert XSD into XML
Genrating xml from the given xsd