[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Output to text file
I had the same requirement. I couldn't find a direct API for this purpose, but there is some sample code for printing the DOM Tree in XML (/xml4csrc2_3_1/samples/DOMPrint/DOMPrint.cpp). I could build an API using this code to achieve the purpose. But I will still like to know, if there is any direct API to achieve this. Regards, Shekhar Nortel Networks At 03:17 PM 10/26/99 +0530, you wrote: > >The question here is that how to create an XML file "back" from a DOM Tree. >From a discussion i had sometime back on this mailing list I learnt that >SUN's JAVA XML parser >has an API to write back a DOM tree in an XML file. > > >Does XML4C also has such an API. > >Abhishek. >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > _/ Abhishek Srivastava > _/ Hewlett Packard ISO > _/_/_/ _/_/_/ ------------------- > _/ / _/ _/ (Work) +91-80-2251554 x1190 >_/ _/ _/_/_/ (Ip) 15.10.47.37 > _/ (Url) http://sites.netscape.net/abhishes/homepage > _/ You've heard it all by now. Get wired or get whacked. > You're networking or you're not working. Dot-com or die > - SUN MICROSYSTEMS >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >----- Original Message ----- >From: Richard Lanyon <rgl@d...> >To: Yogita Patil <ypatil@k...> >Cc: xml dev mailing list <xml-dev@i...> >Sent: Tuesday, October 26, 1999 2:28 PM >Subject: Re: Output to text file > > >> On Mon, 25 Oct 1999, Yogita Patil wrote: >> >> > Hi All, >> >> > I'm using the IBM C++ Parser for XML. Any thoughts on how i can spit >> > out the contents of my Domtree to a text file? >> >> Conventional wisdom has it that XML is /the/ serialisation of a DOM tree, >> so why would you want to export your DOM to anything other than XML? >> >> -- >> Richard Lanyon (Software Engineer) | "The medium is the message" >> XML Script development, | - Marshall McLuhan >> DecisionSoft Ltd. | >> >> >> xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... >> Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on >CD-ROM/ISBN 981-02-3594-1 >> To unsubscribe, mailto:majordomo@i... the following message; >> unsubscribe xml-dev >> To subscribe to the digests, mailto:majordomo@i... the following >message; >> subscribe xml-dev-digest >> List coordinator, Henry Rzepa (mailto:rzepa@i...) >> >> > > >xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... >Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 >To unsubscribe, mailto:majordomo@i... the following message; >unsubscribe xml-dev >To subscribe to the digests, mailto:majordomo@i... the following message; >subscribe xml-dev-digest >List coordinator, Henry Rzepa (mailto:rzepa@i...) > > xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To unsubscribe, mailto:majordomo@i... the following message; unsubscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|