in reply to Re^3: XML::Twig and the monasteries XML ( normalize_space normalise_space )
in thread XML::Twig and the monasteries XML

Not for me.

It would help if you showed your code.

Probably a version problem?

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

  • Comment on Re^4: XML::Twig and the monasteries XML ( normalize_space normalise_space )

Replies are listed 'Best First'.
Re^5: XML::Twig and the monasteries XML ( normalize_space normalise_space )
by Anonymous Monk on Jun 14, 2019 at 00:48 UTC

    Not for me. It would help if you showed your code. Probably a version problem?

    Eh?

    print pp $twig->parse( $data)->simplify( normalise_space => 111 );
    XML::Twig 3.49
      Thanks, that is working now.

      I had the same code but I used 1 not 111 ! (?)

      print pp $twig->parse( $data)->simplify(normalise_space => 1);

      Couldn't find the difference documented in XML::Twig...

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery FootballPerl is like chess, only without the dice