in reply to XML::LibXML getElementsById problem
Wow, thank god for XML::TreeBuilder
my $tree = XML::TreeBuilder->new_from_content(<<EOF); ?xml version="1.0"?> <root> <aaa id='test'> <bbb/> </aaa> </root> EOF my $elem = $tree->look_down(id => 'text'); $elem->this; $elem->that;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: XML::LibXML getElementsById problem
by mirod (Canon) on Dec 15, 2005 at 19:19 UTC |
In Section
Seekers of Perl Wisdom