in reply to Looking for smart solution
XML::LibXML, XML::LibXML::Node, XML::LibXML::Attr, XML::LibXML::Element, et cetera. There's a lot to read, read it.
use strict; use warnings; use XML::LibXML; my $file = shift || die "Give me your XML file\n"; my $doc = XML::LibXML->new->parse_file($file); # Do your processing. It's not hard if you read the docs thoroughly. $doc->toFile($file);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Looking for smart solution
by Sun751 (Beadle) on Jun 23, 2009 at 08:57 UTC | |
by Anonymous Monk on Jun 23, 2009 at 09:05 UTC | |
by marto (Cardinal) on Jun 23, 2009 at 09:07 UTC | |
by Your Mother (Archbishop) on Jun 23, 2009 at 14:53 UTC |