in reply to Re: XML Twig - Isolate Element
in thread XML Twig - Isolate Element

HMmm, I'm using 3.26 here (shoulda mentioned that earlier).

I've tried "Print" but that repeats <EXPORT> for every line output... which is even worse.

I'll upgrade to the latest and try again.

Replies are listed 'Best First'.
Re^3: XML Twig - Isolate Element
by GrandFather (Saint) on Jan 03, 2008 at 17:53 UTC

    Did you actually try the sample code? The output shown was with 3.26.

    Note that the print is called on $record, not $nhf.


    Perl is environmentally friendly - it saves trees
      Hmm, your code works fine.... even if I replace "parse" with "parsefile" and point in to my datafile.

      Gimme 10.