• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Reading a XML file

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have a complex XML file to read,

Actual XML file looks like this:
<LDEGER>
<DAYPROFIT>
<DAY>
<NAME>Monday</NAME>
</DAY>1234
<DAY>
<NAME>TuesDay</NAME>
</DAY>1002
</DAYPROFIT>
</LEDGER>

Here DAY tag can appear multiple times and if you have noticed 1234 and 1002 are appearing just after each closing tag of DAY..
I am able to read Name tags but unable to read 1234 and 1002....values using SAX and dom parser...

Can somebody will help in reading this file?

Thanks in Advance.

Regards
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you send the code you have written to read he XML File
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic