in reply to Re: How do i determine if an XML array element exists in a hash?
in thread How do i determine if an XML array element exists in a hash?
Or if you'd prefer a data structure containing all the data...Or even this might be preferable (using 'id' fields as hash keys):
Update: Although looking at the OP, if there are really repeated accountId's, then maybe not...but I'm thinking that might be just due to cut n paste.my $parser = XML::Rules->new( rules => { _default => 'content', 'asset' => 'no content by assetId', 'account' => 'no content by accountId', 'data' => 'pass no content' } );
|
---|