in reply to Re: xml help
in thread xml help
The fine documentation should be read if you're going to use it. I haven't met a problem with XML that twig couldn't handle though.use strict; use warnings; use XML::Twig; my $twig = new XML::Twig('pretty_print' => 'indented'); $twig->safe_parse('<say/>'); my $root = $twig->root(); $root->set_text('Hello World'); $twig->print();
|
|---|