Thankyou Justin. and sorry for the incorrect posting.
regards
Oytun
Oytun
On 5/17/06, Edelson, Justin <[EMAIL PROTECTED]> wrote:
DefaultHandler is a SAX class and isn't part of dom4j. You should take a look at http://www.saxproject.org/ for documentation on SAX. The method that will get called when the parser encounters an element/tag is startElement().
From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Oytun Askin (GMail)
Sent: Wednesday, May 17, 2006 12:59 PM
To: dom4j-user@lists.sourceforge.net
Subject: [dom4j-user] how to handle the XML tag
Hello guys,I have the following question:
I can handle the text part for a XML tag with DefaultHandler's characters() method by overriding it in a class that extendsDefaultHandler successfully.How would i get the name of the tag and its attributes ? Can it be done using the DefaultHandler or something else?Let me know please.
--
Oytun Aşkın
[EMAIL PROTECTED]