[Israel.pm] XML processing problem
Shlomo Yona
shlomo at cs.haifa.ac.il
Thu Jun 10 04:12:44 PDT 2004
On Thu, 10 Jun 2004, Offer Kaye wrote:
> > I was surprised to see that this code prints *some* of my
> > XML file, although
> > twig_print_outside_roots => 0
>
> So because you are setting twig_print_outside_roots to false it tells
> XML::Twig to process only a part of your document. Try setting it to "1"...
>
You misunderstood me.
I wasn't expecting to output ANYTHING:
I wasn't expecting it to output stuff related to 'item'
because I was supposed to handle it myself in the handler
and chose to leave the handler empty.
I wasn't expecting it to output anything else because
twig_print_outside_roots => 0.
Still -- I got a part of the XML.
Why?
--
Shlomo Yona
shlomo at cs.haifa.ac.il
http://cs.haifa.ac.il/~shlomo/
More information about the Perl
mailing list