Title: Message
   As a work-around is there a way I can specifify attributes as children of an element rather than in <Element att="value"....> pairs?
-----Original Message-----
From: Maksym Kovalenko [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 5:14 PM
To: [EMAIL PROTECTED]
Subject: Re: Retrieve <attribute> 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:
<!--[if !supportEmptyParas]--><!--[endif]--><!--[if !supportEmptyParas]--><!--[endif]--><!--[if !supportEmptyParas]--><!--[endif]--><!--[if !supportLineBreakNewLine]--><!--[endif]--><!--[if !supportEmptyParas]--><!--[endif]--><!--[if !supportLineBreakNewLine]--><!--[endif]-->
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

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

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.

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

 

Reply via email to