but i can not serialize the processing instruction and DTD declaration to that file. ----- Original Message ----- From: "Renà Jensen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 13, 2001 6:27 PM Subject: Re: How to save Document Type Declaration to a XML file?
> Citat ÂÂÂà <[EMAIL PROTECTED]>: > > > I wrote a program to read a XML file and then write back to disk ,but i > > find that the processing instruction and the Document type definiton > > were missing in the output file.how can i write them to the xml file > > using Xerces?Tnanks. > > > > If you use the DOMparser to parse you xml-document, you can then use > XMLSerializer to serialize the DOM-tree to a file. > > _\|/_ > (@ @) > ---oOOo-(_)-oOOo--- > Renà Jensen > [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
