You would parse the content of the input source using the parser, then either using the SAX or DOM APIs you would make the changes you want to make, then use write the contents back out. You can't do anything with the input source directly, since its just a way to stream data into the parser. So your program must run the parser on the contents of the input source, change the results that come out of the parser to suit your needs, and then write it back out again.
-------------------------- Dean Roddey The Charmed Quark Controller Charmed Quark Software [EMAIL PROTECTED] http://www.charmedquark.com "If it don't have a control port, don't buy it!" ----- Original Message ----- From: "Eva Ko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 07, 2002 11:42 AM Subject: MembufInputSource question > I am not sure if this got posted on the site or not, so I re-send it. > > thanks > > Hi, > > I got a question on how to print the MembufInputSource into a character > string. > I need to change some attributes values in the MembufInputSource, after > the > change, I need to convert the MemBufInputSource into a > string, so that I can insert it into a database. > > How can I convert the MembufInputSource into a string??? > > thank for your help!!! > > Eva > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
