#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2012
    Posts
    1
    Rep Power
    0

    Unhappy Reading XML input using perl script


    How to read the below xml input using perl script:

    <root>
    <Input>
    <Propery1 value="c:\\Siemens\\Teamcenter9\\tc_root" />
    < Propery2 value="Z:\\Teamcenter\\Tc9.1\\Tc9.1\\Tc9.1_win32" />
    <application value="tceng" />
    < Propery3 value="false" />
    < Propery4 value="jaindin" />
    <installLanguage value="ENGLISH" />
    <version value="9000.1.0.20120307" />
    </Input>
    <root>

    Please help me as soon as possible.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jun 2012
    Posts
    834
    Rep Power
    496
    Your are not saying what you are trying to do, but you should most probably use one of the many XML modules from the CPAN.

    For example: XML::Simple or XML::Twig, but there are others.

IMN logo majestic logo threadwatch logo seochat tools logo