> > Two ways
And a third one: WORK on a serialized file :)
In our PDOM (free download at http://xml.darmstadt.gmd.de/xql) an XML
file is compiled to a binary random access file. On top of this is a
live-object manager that transparently translates DOM operations into
updates of the binary file. Thus: no in memory DOM, but a persistent
filebased DOM. No need to serialize, its serialized all the time.
++im
P.S. There is a paper on this (done for OOPSLA'99) which I can send
on request.
> >
> > 1) if your DOM is ofTXDocument class then you can use method
> > printWithFormat(Writer w)(sorry I am not sure of the name but it is
> > there) avaible in TXDocument
> > 2) See the code in DOMWriter available in samples directory I think
> >
> > By the way, there does not seem to be any formal way in DOM for
In the PDOM.domutil package all of those helper functions are
contained.
> > a) creating an empty DOM
> > b) reading from an XML
> > c) writing out it as again as an XML
> >
> > Since DOM is "XML in memory" and XML is "serialized DOM" how come the
> > relationship between the two is not defined at all.
--
Ingo Macherius//Dolivostrasse 15//D-64293 Darmstadt//+49-6151-869-882
GMD-IPSI German National Research Center for Information Technology
mailto:macherius@xxxxxx http://www.darmstadt.gmd.de/~inim/
Information!=Knowledge!=Wisdom!=Truth!=Beauty!=Love!=Music==BEST (Zappa)
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Serialize DOM
- skodali - Tue, 7 Dec 1999 17:10:15 -0800
- S.Ramaswamy - Wed, 08 Dec 1999 10:00:07 +0530
- Tangi Vass - Mon, 8 Nov 1999 14:46:53 +0100
- Ingo Macherius - Wed, 8 Dec 1999 14:57:16 +0100 <=
- David Tolpin - Wed, 8 Dec 1999 22:23:21 +0400 (AMT)
- <Possible follow-ups>
- anupama - Tue, 7 Dec 1999 18:25:57 -0800
|
|