I require a perl / libxml coder for a very quick project - I don't see it taking very long to achieve for somebody who knows what they are doing.
I have the following xml document which has been attached to this job, and I require it to be parsed and put into a hash.
The main area i'm concerned with is between the <domain:hostAttr> and </domain:hostAttr> entries. The <domain:hostName> element should always be present however the <domain:hostAddr> may not always be there.
I just need those entries pushed into a format I can work with in Perl, more then likely a hash would be the logical choice for a container.
I require a test script which can parse the xml using LibXML and create the hash based on those two elements, and then use Data::Dumper to output the hash for me.