xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pankaj malhan" <pankajmal...@hotmail.com>
Subject Re: Inserting Data Using SAX
Date Wed, 31 Jan 2001 18:48:43 GMT
<html><DIV>
<P>hi there!!</P>
<P>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&nbsp; but couldnt find methods to do so.</P>
<P>Is that so we need any other helper classes or interface to&nbsp;intsert data
in xml file???</P>
<P>If anyone could be precise it would be a great help.</P>
<P>Regards </P>
<P>Pankaj Malhan<BR><BR></P></DIV>
<DIV></DIV>
<DIV></DIV>&gt;From: "???" <LKH@ICOLS.COM>
<DIV></DIV>&gt;Reply-To: general@xml.apache.org 
<DIV></DIV>&gt;To: <GENERAL@XML.APACHE.ORG>
<DIV></DIV>&gt;Subject: Inserting Data Using SAX 
<DIV></DIV>&gt;Date: Wed, 31 Jan 2001 10:17:14 +0900 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Hello, there. 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;I have a question about SAX. 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;How can I insert a new element into the XML file, or delete
elements, using SAX? 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;SAX defines events method, startDocument(), endDocument()....,
but does not define createElement(), createComment()... like DOM. 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;So, please tell me how I can solve my problem. 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Thanx in advance. 
<DIV></DIV><br clear=all><hr>Get Your Private, Free E-mail from MSN
Hotmail at <a href="http://www.hotmail.com">http://www.hotmail.com</a>.<br></p></html>

Mime
View raw message