Results 1 to 2 of 2
  1. #1
    mp.saaravanan is offline Member
    Join Date
    May 2010
    Posts
    1
    Rep Power
    0

    Default parsing xml file

    Hi All,
    I am new to java. I have an xml file as follows.
    <batch>
    <job>
    <id>1</id>
    <start>29 apr</start>
    </job>
    <job>
    <id>1</id>
    <end>30 apr</end>
    <status>true</status>
    </job>
    </batch>

    and i need the output as follows:

    id - 1; start - 29 apr; end - 30 apr; status - true.

    Can anyone help in this?

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

Similar Threads

  1. HTML FILE parsing.
    By makpandian in forum New To Java
    Replies: 8
    Last Post: 11-02-2010, 03:00 PM
  2. Input file parsing to insert into DB
    By IDForums in forum New To Java
    Replies: 4
    Last Post: 09-30-2009, 01:13 PM
  3. parsing and updating html file using JSP.
    By tskarthic in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 04-02-2009, 09:12 PM
  4. Parsing XML File
    By rstar7 in forum XML
    Replies: 1
    Last Post: 10-10-2008, 03:31 AM
  5. Replies: 6
    Last Post: 05-14-2008, 04:04 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •