Jose, that header code works for me, not sure why your seeing those errors.

Regarding writeline(), I'm half tempted to say screw xmldom object model and do everything with arrays, readline and writeline...

Regarding formatting, the single line seems to be the only output xmldom is capable of producing. Formatting is a separate process: Somewhat automated way of formatting .xml

It's in VB, but at a glance, it looks like it can be converted.


Edited by jtokach (2005-03-16 06:01 PM)
_________________________
-Jim

...the sort of general malaise that only the genius possess and the insane lament.