File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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.

subject: Genereate XML file
It's not a secret anymore!