Need help with SAX parser.. to parse an xml..

I have a xml like the following, using SAX parser, can u please show me how to extract

My final output i need as like comma separated dates..
But importantly i need to find how I can get those BillDate.. the number of BillDate is dynamic
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="" xmlns:cis="http://...">
      <b:getBillDatesResponse xmlns:b="http://......">

thanks for ur help..
I really appreciate that..
Who is Participating?
imladrisConnect With a Mentor Commented:
If you derive from startElement:

      public void startElement(String uri,String name,String qname,Attributes atts)

you can use that to check for the "b:BillDate" elements by checking the name argument. Whenever you find one you can process it appropriately.
Did that help?

Do you need more details? If so, what?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.