aspose file tools*
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Genereate XML file" Watch "Genereate XML file" New topic
Author

Genereate XML file

suhasini dharmisetty
Greenhorn

Joined: Oct 07, 2008
Posts: 19
Hi,
I created xml file using java.
i crated like this:
<element><name>sa</name><age>2</age></element>
but i want to create like this:
<element version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="16c62a3e46b34eb7a935c8389ce6e2ab.xsd">
</element>

if anybody know please reply me.
Rajkamal Pillai
Ranch Hand

Joined: Mar 02, 2005
Posts: 443
    
    1


You can use JAXB you can generate XML files.

Cheers,
Raj.
 
 
subject: Genereate XML file
 
Similar Threads
What do i choose???
validating against a DTD
Create Xml file with NameSpacel.Pleaseeeeeeee help me....
i need to create a xml file from Jtree
how to remove particular child element