Subject: Re: Serialize DOM From: "Tangi Vass" <tangivass@xxxxxxxxxxxxxx> Date: Mon, 8 Nov 1999 14:46:53 +0100 |
> Two ways > > 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 > > 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. Sun's implementation of DOM has a write(Writer) method to write a DOM tree as XML. I have been using it with LotusXSL 0.18.2 and that was very useful. Alas, I couldn't make it work with newer versions of LotusXSL so I now use XML4J too (but I didn't try the DOMWriter class). Tangi Vass XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Serialize DOM, S.Ramaswamy | Thread | Re: Serialize DOM, Ingo Macherius |
Date | XSL FO spec progress?, disco | |
Month |