why do you think you have attributes in the former case?
All I see is element with name "Element" and element with name "attribute"

Jaladurgam, Ramana wrote:
Message
Hello,
  I have my elements like:
          <Element>
              <attribute name="First">FirstAtt</attribute>
              <attribute name="Second">SecondAtt</attribute>
          </Element>
 
   I am using SAX to parse. But in the startElement(...) method, I am not able to retrieve the attributes. It's fine when the xml file looks like
           <Element First="FirstAtt" Second="SecondAtt"/>
 
   What's the approach to retrive the attributes in the former instance?
 
 

****************************************************************************

This email may contain confidential
material. If you were not an intended recipient,
Please notify the sender and delete all copies.
We may monitor email to and from our network.

 ***************************************************************************

 

--

Maksym Kovalenko
Software Engineer
Marketswitch Corporation
http://www.marketswitch.com
108 Powers Court, Suite 225
Dulles, VA 20166
Phone: +1 (703) 444-6750 ext. 302
Fax: +1 (703) 444-6812

Reply via email to