Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Anyone Help me in XML file Reading??????????

  1. #1
    Junior Member
    Join Date
    May 2010
    Thanked 0 Times in 0 Posts

    Thumbs down Anyone Help me in XML file Reading??????????

    In the following Quiz Software, i've done with Aiken format but i am not getting any idea to read xml format. pls anyone help me.

    The*client*needs*Quiz*software*with*a*command*line *interface*such*that*it*can*get*
    input*from*a*file*and*display*each*of*the*question s*one*at*a*time*on*the*command*
    prompt.*Each*of*the*questions*have*4*options*to*be *displayed*(a,b,c,d)*once*the*
    user*answers*the*question,*the*next*question*is*di splayed*and*so*on*till*all*the*
    questions*are*exhausted.*At*the*end*of*the*test*th e*score*is*displayed*to*the*user.*
    The*input*file*can*be*in*one*of*the*various*standa rd*quiz*formats*such*as*‘Aiken’,*
    ‘XML’,*‘Comma*Separated*Values’*etc*(see*example*f ormat*below).*The*software*
    should*be*able*to*read*the*questions*from*these*di fferent*formats.*For*demo*
    purpose*at*least*one*format*should*be*supported*an d*new*formats*should*be*

    Ex: XML*format*

    <?xml version="1.0" ?>
    <question type="category">

  2. #2
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    United Kingdom
    My Mood
    Thanked 294 Times in 227 Posts
    Blog Entries

    Default Re: Anyone Help me in XML file Reading??????????

    This link should help you

    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

Similar Threads

  1. [SOLVED] reading only certain lines from a .txt file
    By straw in forum File I/O & Other I/O Streams
    Replies: 4
    Last Post: March 7th, 2010, 07:49 PM
  2. Reading doubles from file
    By fawx in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: October 24th, 2009, 11:57 PM
  3. [SOLVED] File Reading from the specified location
    By rajesh.mv in forum File I/O & Other I/O Streams
    Replies: 4
    Last Post: August 13th, 2009, 12:56 AM
  4. Problem on reading file in Java program
    By nathanernest in forum File I/O & Other I/O Streams
    Replies: 2
    Last Post: April 13th, 2009, 08:14 AM
  5. [SOLVED] Problem in reading a file from java class
    By aznprdgy in forum File I/O & Other I/O Streams
    Replies: 11
    Last Post: March 23rd, 2009, 09:31 AM