Output to text file
Shekhar Kshirsagar
skshirsa at nortelnetworks.com
Tue Oct 26 18:40:39 BST 1999
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 at decisionsoft.com>
>To: Yogita Patil <ypatil at kingston.hummingbird.com>
>Cc: xml dev mailing list <xml-dev at ic.ac.uk>
>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 at ic.ac.uk
>> Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on
>CD-ROM/ISBN 981-02-3594-1
>> To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
>> unsubscribe xml-dev
>> To subscribe to the digests, mailto:majordomo at ic.ac.uk the following
>message;
>> subscribe xml-dev-digest
>> List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
>>
>>
>
>
>xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
>Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on
CD-ROM/ISBN 981-02-3594-1
>To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
>unsubscribe xml-dev
>To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
>subscribe xml-dev-digest
>List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
>
>
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list