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.
Scenario:
*
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*
easily*pluggable
Ex: XML*format*
<?xml version="1.0" ?>
<quiz>
<question type="category">
<category>
<text>$course$/XXXX</text>
</category>
</question>
.
.
.
</quiz>
Re: Anyone Help me in XML file Reading??????????