in reply to Re^2: XML Twig entities
in thread XML Twig entities

I've tried, "my $twig = new XML::Twig(expand_external_ents => -1);" but I get the same error.

I seem to have missed that originally. What error is that?

I just need to grab the text from certain elements [...] And I don't need the entities anyway.

The entities represent text.


[ For the rest of the monks ]

I've tried, "my $twig = new XML::Twig(expand_external_ents => -1);" but I get the same error.

I seem to have missed that originally. What error is that?

I just need to grab the text from certain elements [...] And I don't need the entities anyway.

The entities represent text.

Replies are listed 'Best First'.
Re^4: XML Twig entities
by rob50 (Initiate) on Apr 09, 2009 at 19:43 UTC
    I'm sorry, I don't understand?
      I added a version with the entities decoded.