in reply to Re^2: XML data reading/output
in thread XML data reading/output
arg, yeah, dumb mistakes. But not the third one. Contrary to your claims, the OP wants the whole element ('<mainterm weight="a">G</mainterm>'), not just the text ('G').
In Section
Seekers of Perl Wisdom