bhushanQA has asked for the wisdom of the Perl Monks concerning the following question:
I want to read the "name" and "required" filed from xml file.. I am using xml::simple but this xml is bit tricky how can I do this.<Event name="Constants" id="0" ui-visible="0" version="0" serviceKey=" +0" rateTableName=""> <properties> <visible> false </visible> </properties> <attribute identifier="00"> <name> session_id </name> <type> string </type> <required> true </required> <ilog> <alternate> session id in string format </alte +rnate> <visible> false </visible> </ilog> </attribute> <attribute identifier="01"> <name> volume </name> <type> int </type> <required> false </required> <ilog> <alternate> the volume </alternate> <visible> false </visible> </ilog> </attribute>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Read the attribute from xml file
by GotToBTru (Prior) on Jul 20, 2015 at 13:09 UTC | |
by bhushanQA (Sexton) on Jul 20, 2015 at 13:15 UTC | |
by Athanasius (Archbishop) on Jul 20, 2015 at 14:50 UTC | |
by Anonymous Monk on Jul 21, 2015 at 00:14 UTC | |
by Anonymous Monk on Jul 21, 2015 at 00:16 UTC | |
by bhushanQA (Sexton) on Jul 21, 2015 at 09:42 UTC | |
by GotToBTru (Prior) on Jul 20, 2015 at 14:55 UTC | |
by bhushanQA (Sexton) on Jul 21, 2015 at 10:00 UTC | |
by Anonymous Monk on Jul 21, 2015 at 10:31 UTC | |
by GotToBTru (Prior) on Jul 21, 2015 at 12:56 UTC |