Hi,
Is anyone able to help me, or point me to a decent tutorial on how to parse an xml document with the following format:
<teamDetail seqNo='1' team='320002' code='GOL' name='Gold Coast' short='GOL' tryscorer1='Ashley Harrison 9m, Ben Jeffery 15m, Brad Meyers 26m, Preston Campbell 30m' tryscorer2='Anthony Laffranchi 45m, Brenton Bowen 71m' tryscorer='Ashley Harrison 9m, Ben Jeffery 15m, Brad Meyers 26m, Preston Campbell 30m, Anthony Laffranchi 45m, Brenton Bowen 71m' convscorer1='Scott Prince 10m, Scott Prince 16m, Scott Prince 28m, Scott Prince 32m' convscorer2='Scott Prince 46m, Scott Prince 72m' convscorer='Scott Prince 10m, Scott Prince 16m, Scott Prince 28m, Scott Prince 32m, Scott Prince 46m, Scott Prince 72m' penscorer1='' penscorer2='' penscorer='' fgscorer1='' fgscorer2='' fgscorer='' score1='24' score2='12' score='36' tabstart='-5.5' trys1='4' trys2='2' trys='6' tryas1='3' tryas2='2' tryas='5' con1='4' con2='2' con='6' cona1='4' cona2='2' cona='6' peng1='0' peng2='0' peng='0' penga1='0' penga2='0' penga='0' fg1='0' fg2='0' fg='0' fga1='0' fga2='1' fga='1' goal1='4' goal2='2' goal='6' goala1='4' goala2='2' goala='6' pen1='1' pen2='2' pen='3' scrums1='2' scrums2='3' scrums='5' posstime1='51%' possmmss1='20:33' possmmsspc1='51%' posstime2='55%' possmmss2='0:00' possmmsspc2='0%' posstime='53%' possmmss='41:42' possmmsspc='52%' usedplays1='79' unusedplays1='5' posseff1='94%' usedplays2='94' unusedplays2='15' posseff2='86%' usedplays='173' unusedplays='20' posseff='90%' compl1='14' compl2='15' compl='29' sets1='16' sets2='19' sets='35' get1='182' get2='208' get='390' hitup1='34' hitup2='43' hitup='77' hitupmtrs1='274' hitupmtrs2='369' hitupmtrs='643' run1='18' run2='14' run='32' runmtrs1='201' runmtrs2='131' runmtrs='332' dhrun1='9' dhrun2='9' dhrun='18' dhmtrs1='53' dhmtrs2='70' dhmtrs='123' r1run1='1' r1run2='5' r1run='6' r1runmtrs1='12' r1runmtrs2='18' r1runmtrs='30' rrun1='6' rrun2='8' rrun='14' rrunmtrs1='42' rrunmtrs2='52' rrunmtrs='94' kret1='4' kret2='6' kret='10' kretmtrs1='33' kretmtrs2='79' kretmtrs='112' rret1='6' rret2='2' rret='8' rretmtrs1='52' rretmtrs2='19' rretmtrs='71' gpruns1='68' gpruns2='79' gpruns='147' gprunsmtrs1='582' gprunsmtrs2='640' gprunsmtrs='1222' allruns1='78' allruns2='87' allruns='165' allrunsmtrs1='667' allrunsmtrs2='738' allrunsmtrs='1405' lbks1='5' lbks2='1' lbks='6' lbkas1='3' lbkas2='1' lbkas='4' tbrks1='25' tbrks2='13' tbrks='38' ptbs1='9' ptbs2='22' ptbs='31' ptbn1='53' ptbn2='56' ptbn='109' ptbf1='4' ptbf2='3' ptbf='7' ptb1='66' ptb2='81' ptb='147' tackles1='145' tackles2='147' tackles='292' tackles1on11='10' tackles1on12='11' tackles1on1='21' steals1on11='0' steals1on12='0' steals1on1='0' intercepts1='0' intercepts2='1' intercepts='1' mistackle1='11' mistackle2='10' mistackle='21' tackleineff1='15' tackleineff2='8' tackleineff='23' offlo1='5' offlo2='4' offlo='9' error1='3' error2='5' error='8' kicks1='9' kicks2='14' kicks='23' kickmtrs1='295' kickmtrs2='412' kickmtrs='707' forty201='0' forty202='0' forty20='0' kickerr1='0' kickerr2='0' kickerr='0' bombsdefused1='2' bombsdefused2='3' bombsdefused='5' ldout1='1' ldout2='0' ldout='1' sin1='' sin2='' sin='' send1='' send2='' send=''>
<playerDetail seqNo='1' player='238' name='Preston Campbell' jer='1' pn='1' mins='80' pos='Fullback' trys1='1' trys2='0' trys='1' tryas1='1' tryas2='0' tryas='1' con1='0' con2='0' con='0' cona1='0' cona2='0' cona='0' peng1='0' peng2='0' peng='0' penga1='0' penga2='0' penga='0' fg1='0' fg2='0' fg='0' fga1='0' fga2='0' fga='0' goal1='0' goal2='0' goal='0' goala1='0' goala2='0' goala='0' pts1='4' pts2='0' pts='4' get1='18' get2='21' get='39' hitup1='0' hitup2='0' hitup='0' hitupmtrs1='0' hitupmtrs2='0' hitupmtrs='0' run1='4' run2='2' run='6' runmtrs1='98' runmtrs2='3' runmtrs='101' r1run1='0' r1run2='0' r1run='0' r1runmtrs1='0' r1runmtrs2='0' r1runmtrs='0' dhrun1='0' dhrun2='0' dhrun='0' dhmtrs1='0' dhmtrs2='0' dhmtrs='0' rrun1='0' rrun2='0' rrun='0' rrunmtrs1='0' rrunmtrs2='0' rrunmtrs='0' kret1='2' kret2='5' kret='7' kretmtrs1='20' kretmtrs2='76' kretmtrs='96' rret1='0' rret2='0' rret='0' rretmtrs1='0' rretmtrs2='0' rretmtrs='0' gpruns1='4' gpruns2='2' gpruns='6' gprunsmtrs1='98' gprunsmtrs2='3' gprunsmtrs='101' allruns1='6' allruns2='7' allruns='13' allrunsmtrs1='118' allrunsmtrs2='79' allrunsmtrs='197' lbks1='2' lbks2='0' lbks='2' lbkas1='1' lbkas2='0' lbkas='1' tbrks1='9' tbrks2='2' tbrks='11' ptb1='5' ptb2='7' ptb='12' tackles1='2' tackles2='0' tackles='2' tackles1on11='0' tackles1on12='0' tackles1on1='0' steals1on11='0' steals1on12='0' steals1on1='0' intercepts1='0' intercepts2='0' intercepts='0' mistackle1='0' mistackle2='0' mistackle='0' tackleineff1='0' tackleineff2='0' tackleineff='0' offlo1='1' offlo2='1' offlo='2' error1='1' error2='0' error='1' kicks1='0' kicks2='3' kicks='3' kickmtrs1='0' kickmtrs2='72' kickmtrs='72' forty201='0' forty202='0' forty20='0' kickerr1='0' kickerr2='0' kickerr='0' bombsdefused1='1' bombsdefused2='1' bombsdefused='2' pencon1='0' pencon2='0' pencon='0' sin1='' sin2='' sin='' send1='' send2='' send='' />
<playerDetail seqNo='2' player='320054' name='Ben Jeffery' jer='2' pn='2' mins='80' pos='Winger 1' trys1='1' trys2='0' trys='1' tryas1='0' tryas2='1' tryas='1' con1='0' con2='0' con='0' cona1='0' cona2='0' cona='0' peng1='0' peng2='0' peng='0' penga1='0' penga2='0' penga='0' fg1='0' fg2='0' fg='0' fga1='0' fga2='0' fga='0' goal1='0' goal2='0' goal='0' goala1='0' goala2='0' goala='0' pts1='4' pts2='0' pts='4' get1='7' get2='9' get='16' hitup1='0' hitup2='2' hitup='2' hitupmtrs1='0' hitupmtrs2='18' hitupmtrs='18' run1='2' run2='3' run='5' runmtrs1='10' runmtrs2='61' runmtrs='71' r1run1='0' r1run2='0' r1run='0' r1runmtrs1='0' r1runmtrs2='0' r1runmtrs='0' dhrun1='3' dhrun2='1' dhrun='4' dhmtrs1='19' dhmtrs2='8' dhmtrs='27' rrun1='0' rrun2='0' rrun='0' rrunmtrs1='0' rrunmtrs2='0' rrunmtrs='0' kret1='2' kret2='1' kret='3' kretmtrs1='13' kretmtrs2='3' kretmtrs='16' rret1='0' rret2='0' rret='0' rretmtrs1='0' rretmtrs2='0' rretmtrs='0' gpruns1='5' gpruns2='6' gpruns='11' gprunsmtrs1='29' gprunsmtrs2='87' gprunsmtrs='116' allruns1='7' allruns2='7' allruns='14' allrunsmtrs1='42' allrunsmtrs2='90' allrunsmtrs='132' lbks1='1' lbks2='0' lbks='1' lbkas1='0' lbkas2='0' lbkas='0' tbrks1='0' tbrks2='2' tbrks='2' ptb1='6' ptb2='7' ptb='13' tackles1='6' tackles2='5' tackles='11' tackles1on11='1' tackles1on12='1' tackles1on1='2' steals1on11='0' steals1on12='0' steals1on1='0' intercepts1='0' intercepts2='1' intercepts='1' mistackle1='0' mistackle2='0' mistackle='0' tackleineff1='0' tackleineff2='1' tackleineff='1' offlo1='0' offlo2='0' offlo='0' error1='0' error2='0' error='0' kicks1='0' kicks2='0' kicks='0' kickmtrs1='0' kickmtrs2='0' kickmtrs='0' forty201='0' forty202='0' forty20='0' kickerr1='0' kickerr2='0' kickerr='0' bombsdefused1='0' bombsdefused2='1' bombsdefused='1' pencon1='0' pencon2='0' pencon='0' sin1='' sin2='' sin='' send1='' send2='' send='' />
<playerDetail seqNo='3' player='440233' name='Luke O'Dwyer' jer='3' pn='3' mins='69' pos='Centre 1' trys1='0' trys2='0' trys='0' tryas1='1' tryas2='0' tryas='1' con1='0' con2='0' con='0' cona1='0' cona2='0' cona='0' peng1='0' peng2='0' peng='0' penga1='0' penga2='0' penga='0' fg1='0' fg2='0' fg='0' fga1='0' fga2='0' fga='0' goal1='0' goal2='0' goal='0' goala1='0' goala2='0' goala='0' pts1='0' pts2='0' pts='0' get1='8' get2='8' get='16' hitup1='2' hitup2='1' hitup='3' hitupmtrs1='16' hitupmtrs2='7' hitupmtrs='23' run1='2' run2='0' run='2' runmtrs1='15' runmtrs2='0' runmtrs='15' r1run1='0' r1run2='1' r1run='1' r1runmtrs1='0' r1runmtrs2='0' r1runmtrs='0' dhrun1='2' dhrun2='2' dhrun='4' dhmtrs1='10' dhmtrs2='9' dhmtrs='19' rrun1='0' rrun2='0' rrun='0' rrunmtrs1='0' rrunmtrs2='0' rrunmtrs='0' kret1='0' kret2='0' kret='0' kretmtrs1='0' kretmtrs2='0' kretmtrs='0' rret1='0' rret2='0' rret='0' rretmtrs1='0' rretmtrs2='0' rretmtrs='0' gpruns1='6' gpruns2='4' gpruns='10' gprunsmtrs1='41' gprunsmtrs2='16' gprunsmtrs='57' allruns1='6' allruns2='4' allruns='10' allrunsmtrs1='41' allrunsmtrs2='16' allrunsmtrs='57' lbks1='0' lbks2='0' lbks='0' lbkas1='1' lbkas2='0' lbkas='1' tbrks1='0' tbrks2='0' tbrks='0' ptb1='6' ptb2='3' ptb='9' tackles1='4' tackles2='5' tackles='9' tackles1on11='1' tackles1on12='0' tackles1on1='1' steals1on11='0' steals1on12='0' steals1on1='0' intercepts1='0' intercepts2='0' intercepts='0' mistackle1='1' mistackle2='0' mistackle='1' tackleineff1='2' tackleineff2='0' tackleineff='2' offlo1='0' offlo2='1' offlo='1' error1='1' error2='0' error='1' kicks1='0' kicks2='0' kicks='0' kickmtrs1='0' kickmtrs2='0' kickmtrs='0' forty201='0' forty202='0' forty20='0' kickerr1='0' kickerr2='0' kickerr='0' bombsdefused1='0' bombsdefused2='0' bombsdefused='0' pencon1='0' pencon2='1' pencon='1' sin1='' sin2='' sin='' send1='' send2='' send='' />
</teamDetail>
Thanks for any help,
~Oni.