[Bangalore-pm] XML to PERL
Satya..
satya.itguy at gmail.com
Fri Nov 8 03:00:15 PST 2013
Hi All,
We are having one small XML file which has below format
<IDs>
<*child1*>
<Group>group1</Group>
<Code>code1</Code>
<Division>division1</Division>
<Department></Department>
<Class>1512</PSA>
</*child1*>
<*child2*>
<Group>Group2</Group>
<Code>Code2</Code>
<Division></Division>
<Department></Department>
<Class>1010, 1015, 1020</PSA>
</*child2*>
---
---
---
</IDs>
I need to write a perl script to capture the values into variables
I got confused how to handle different childs in Perl .. Child1..Child2
Any sample perl script will be helpful to me
-------------------------------------------
Regards, J
*$@tya..*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/bangalore-pm/attachments/20131108/52ce2f0c/attachment.html>
More information about the Bangalore-pm
mailing list