Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to create two row in xml file

 
tamil Aarasu
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe something like this?

 
tamil Aarasu
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks

Ulf Dittmer
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic