Saving XML::DOM Document

Hello,

I use a perl script to add new node in a XML file.

But ther's a little problem.

If I can add nodes in my DOM document, I don't know how to save it in a file
?

Could you help me ?

Olivier
Olivier [ Fr, 25 November 2005 22:25 ] [ ID #1073460 ]

Re: Saving XML::DOM Document

Olivier wrote:

> If I can add nodes in my DOM document, I don't know how to save it in a
> file ?

This is what I did ...

1: perldoc XML::DOM (or you could visit search.cpan.org)
2: Glance through the synopsis at the top
3: Notice a demo of a method called "printToFile"

Tried that?

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
David Dorward [ Fr, 25 November 2005 23:43 ] [ ID #1073461 ]

Re: Saving XML::DOM Document

Shame on me !!!

I didn't see this method !!!

That's work fne now.

"David Dorward" <dorward [at] yahoo.com> a écrit dans le message de
news:dm8447$7u8$1$8302bc10 [at] news.demon.co.uk...
> Olivier wrote:
>
> > If I can add nodes in my DOM document, I don't know how to save it in a
> > file ?
>
> This is what I did ...
>
> 1: perldoc XML::DOM (or you could visit search.cpan.org)
> 2: Glance through the synopsis at the top
> 3: Notice a demo of a method called "printToFile"
>
> Tried that?
>
> --
> David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
> Home is where the ~/.bashrc is
Olivier [ Fr, 25 November 2005 23:50 ] [ ID #1073462 ]
Perl » alt.perl » Saving XML::DOM Document

Vorheriges Thema: Odd script behavior.
Nächstes Thema: convert a given gene....