This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Web Services and the fly likes Genereate XML file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Genereate XML file" Watch "Genereate XML file" New topic

Genereate XML file

suhasini dharmisetty

Joined: Oct 07, 2008
Posts: 19
I created xml file using java.
i crated like this:
but i want to create like this:
<element version="1.0" xmlns:xsi="" xsi:noNamespaceSchemaLocation="16c62a3e46b34eb7a935c8389ce6e2ab.xsd">

if anybody know please reply me.
Rajkamal Pillai
Ranch Hand

Joined: Mar 02, 2005
Posts: 445

You can use JAXB you can generate XML files.

I agree. Here's the link:
subject: Genereate XML file
It's not a secret anymore!