in reply to Re: Get all child node values for a particular parent in xml into an array
in thread Get all child node values for a particular parent in xml into an array

You can use the xPath to directly grab the children:
my @records = $root->findnodes("//createnew/*//text()"); print $_->textContent() ,"\n" for @records;

                All power corrupts, but we need electricity.

  • Comment on Re^2: Get all child node values for a particular parent in xml into an array
  • Download Code