pankaj SAX doesnt supply the way of changing the structure and elements of a document but why dont you try JDOM it is really cool.....if i remember go to www.jdom.org thank you' Tarundeep Singh Kalra Developer Data Infosys Ltd. Jaipur India ----- Original Message ----- From: "pankaj malhan" Date: Thursday, February 1, 2001 0:18 am Subject: Re: Inserting Data Using SAX >
>

hi there!!

>

i'm aslo facing simmilar problem !i'm manupulating the XML file > using DOM but i can only find inteface like content handler insax2 > to parse and read the xml file . ilooked at API docs of Sax2 but > couldnt find methods to do so.

>

Is that so we need any other helper classes or interface to > intsert data in xml file???

>

If anyone could be precise it would be a great help.

>

Regards

>

Pankaj Malhan > >

>
>
>From: "???" >
>Reply-To: general@xml.apache.org >
>To: >
>Subject: Inserting Data Using SAX >
>Date: Wed, 31 Jan 2001 10:17:14 +0900 >
> >
>Hello, there. >
> >
>I have a question about SAX. >
> >
>How can I insert a new element into the XML file, > or delete elements, using SAX? >
> >
>SAX defines events method, startDocument(), > endDocument()...., but does not define createElement(), > createComment()... like DOM. >
> >
>So, please tell me how I can solve my problem. >
> >
>Thanx in advance. >


Get Your Private, Free E-mail from > MSN Hotmail at http://www.hotmail.com. >

> > ------------------------------------------------------------------- > -- > In case of troubles, e-mail: webmaster@xml.apache.org > To unsubscribe, e-mail: general-unsubscribe@xml.apache.org > For additional commands, e-mail: general-help@xml.apache.org > >