Hi,
        Do you have to write out the XML file every time? If you you could 
just build the document in memory and write it out once at the end.

Gareth



On Thu, 16 Jan 2003 [EMAIL PROTECTED] wrote:

> Hi, I am meant to do checking on a huge number of objects in this manner:
> 1. Check object#1
> 2. Wraps report on object#1 as XML element 
> 3. Write reportElement#1 to "report.xml" file
> 4. destroy object#1
> 5. Check object#2
> 6. Wraps report on object#2 as XML element 
> 7. Append reportElement#2 to "report.xml" file
> 8. destroy object#2
> ....
> 
> Using DOM, it seems to me that DOMWriter works by constructing the whole 
> DOM tree first, parse it, and write it out to the file. But I cannot 
> afford creating the whole DOM tree first since it is so huge.
> 
> Is it possible to do this 'appending' or must I create a way around it? 
> Tried to look at the milis archives but didn't find any info on this. Or 
> maybe my eyes just missed it.. (sorry in that case)
> 
> I'm new to this thingy; can really do all help :)
> 
> thx a lot!
> cath

-- 
Gareth Reakes, Head of Product Development  +44-1865-203192
DecisionSoft Limited                        http://www.decisionsoft.com
XML Development and Services




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to