[
Lists Home |
Date Index |
Thread Index
]
- From: "Shekhar Kshirsagar" <skshirsa@nortelnetworks.com>
- To: xml-dev@ic.ac.uk
- Date: Tue, 26 Oct 1999 11:46:02 -0400
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@decisionsoft.com>
>To: Yogita Patil <ypatil@kingston.hummingbird.com>
>Cc: xml dev mailing list <xml-dev@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@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@ic.ac.uk the following message;
>> unsubscribe xml-dev
>> To subscribe to the digests, mailto:majordomo@ic.ac.uk the following
>message;
>> subscribe xml-dev-digest
>> List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
>>
>>
>
>
>xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@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@ic.ac.uk the following message;
>unsubscribe xml-dev
>To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
>subscribe xml-dev-digest
>List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
>
>
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@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@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|