in reply to XML::Parser breaks on
I think you'll have to glue it all together. Here is
a snippet that might help a bit.
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: XML::Parser breaks on
by clintp (Curate) on Aug 16, 2001 at 17:31 UTC | |
by blakem (Monsignor) on Aug 17, 2001 at 02:10 UTC |
In Section
Seekers of Perl Wisdom