Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-13-2008, 08:13 AM
Member
 
Join Date: Nov 2008
Posts: 1
Rep Power: 0
JosephMConcepcion is on a distinguished road
Unhappy Manipulating XML
Hi there,

I need help regarding this one, i have already an xml file on which i needed to manipulate, the manipulation goes like this,

<JOB1>
A1
A2
A3
</JOB1>
<JOB2>
A1
A2
A3
</JOB2>
<JOB2>
A1
A2
A3
</JOB2>

and then the user need to input parameters like for example the entered value is 5 and the result should be this.

<JOB1>
A1
A2
A3
A4
A5
</JOB1>
<JOB2>
A1
A2
A3
A4
A5
</JOB2>
<JOB2>
A1
A2
A3
A4
A5
</JOB2>

please help me do this..
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 03-30-2009, 02:28 AM
Member
 
Join Date: Mar 2009
Posts: 10
Rep Power: 0
vogash is on a distinguished road
Default
use JDom in this case
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 04-26-2009, 01:01 AM
Senior Member
 
Join Date: Mar 2009
Location: USA
Posts: 117
Rep Power: 0
Aseem is on a distinguished road
Default
use DOM to add nodes in ur XML.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +2. The time now is 11:11 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org