"BENHAJ-ABDELLATIF,TAHIA (HP-France,ex1)" <[EMAIL PROTECTED]> writes:
> How can we write the modifications in a file once we did after
> parsing? Modification like create node or remove node.
Hi Tahia,
You can use the serialize() method of DOM_Node on the Document node.
$parser = XML::Xerces::DOMParser->new();
$parser->parse('myfile.xml');
$doc = $parser->getDocument();
# add stuff to document
my $string = $doc->serialize();
print STDOUT $string;
jas.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]