in reply to Re^3: XML::LibXML - WHAR HASH TREES WHAR?!
in thread XML::LibXML - WHAR HASH TREES WHAR?!
Neither was I. I was referring to what its design allows.
All the more reason to allow both methods.
Are you kidding me? The equivalent would be
$sb->setAttribute('XML') if !$sb->setAttribute('XML');
Okay, what if it's a node and not an attribute?
Sorry, but that's not working.
Sorry, my bad; it should be hash:
my %children = $doc->{root}{node}[0]('%'); say join "\n", map { "$_ = $children{$_}" } keys %children; say keys %children == 6 ? "ok" : "XXX"; # includes extra "CONTENT" ke +y/value
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: XML::LibXML - WHAR HASH TREES WHAR?!
by ikegami (Patriarch) on Jul 15, 2011 at 19:55 UTC | |
by SineSwiper (Beadle) on Jul 15, 2011 at 22:23 UTC | |
by ikegami (Patriarch) on Jul 18, 2011 at 19:50 UTC |