in reply to Re^2: Problems with multiple records in xml file , Xpath
in thread Problems with multiple records in xml file , Xpath

Within the loop for invoices, find('InvoiceDetails/BaseItemDetails') and loop though that list printing the descriptions.

Other option would, to do some advertising, be to use XML::Rules. There's quite a few examples on Perlmonks.

Jenda
Enoch was right!
Enjoy the last years of Rome.

  • Comment on Re^3: Problems with multiple records in xml file , Xpath

Replies are listed 'Best First'.
Re^4: Problems with multiple records in xml file , Xpath
by joppei (Initiate) on Mar 05, 2010 at 13:47 UTC
    Thx for all the help. I finally got this working as i wanted yesterday. After reading around some on the xml:twig side i used xml:twig combined with the code i already had. Had a very simular xml:xpath build that`s was suggested here. Next time i would propably just stick to xml:twig as it seemed to work better. Now for making a web interface for some simple searching :)