|
|
| XP is just a number | |
| PerlMonks |
Re^2: How to remove empty XML elements using XML::LibXMLby FreakyGreenLeaky (Sexton) |
| on Feb 18, 2013 at 04:23 UTC ( #1019272=note: print w/ replies, xml ) | Need Help?? |
|
Thanks - that works perfectly when operating on 1.xml or another XML document object. Your sample uncovered another layer/problem: my XML document comes from Net::EPP::Frame (cpan.org says "This module implements a subclass of the XML::LibXML::Document..."), so I'm doing something wrong when I try:
My thinking is that because Net::EPP::Frame inherits from XML::LibXML::Document, I should be able to operate on $frame (the XML document) similarly to your original solution... but I'm missing something.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||