aspose file tools*
The moose likes XML and Related Technologies and the fly likes How to create two row in 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 » Engineering » XML and Related Technologies
Bookmark "How to create two row in xml file" Watch "How to create two row in xml file" New topic
Author

How to create two row in xml file

tamil Aarasu
Greenhorn

Joined: Apr 06, 2011
Posts: 5
Hi Friend

I have an xml file which has Only one row in we insert into a table if i want two or more row wat i have to do in this code

<?xml version="1.0" encoding="UTF-8" ?>
<employee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.example.org xsd/customer.xsd"
xmlns="http://www.example.org">
<first_name>suresh</first_name>
<last_name>babu</last_name>
<quantity>100</quantity>
<amount>5000</amount>
</employee>

Your help ll be appreciable
Thanks
Aarasu
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39578
    
  27
Maybe something like this?



Ping & DNS - updated with new look and Ping home screen widget
tamil Aarasu
Greenhorn

Joined: Apr 06, 2011
Posts: 5
Thanks

Ulf Dittmer
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to create two row in xml file
 
Similar Threads
SQL query
two queries combined together into a single one
SAX parsing question
XML data to Oracle database
Problem in composite key as foreign key mapping w/ hibernate v3.2.6 and jdk-6