You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Maksym Kovalenko <mk...@marketswitch.com> on 2003/11/07 00:13:44 UTC

Re: Retrieve values

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:

> 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 <http://www.marketswitch.com/>
108 Powers Court, Suite 225
Dulles, VA 20166
Phone: +1 (703) 444-6750 ext. 302
Fax: +1 (703) 444-6812