sub xml_char { my ($xp, $txt) = @_; my $el = $xp->current_element(); $val{$el} .= $txt if $txt =~ /\S/; }
Notice that %val is sort of a buffer area that will need to be cleaned up when you hit the end tag.
-Blake
In reply to Re: XML::Parser breaks on
by blakem
in thread XML::Parser breaks on
by r.joseph
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |