Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

need a perl code to read xml file and get node value, i have a xml file like below
XML
<build>
 <number>296</number>
 <startTime>1453880120413</startTime>
 <displayName>6343</displayName>
 <duration>0</duration>
 <charset>windows-1252</charset>
 <keepLog>false</keepLog>
 <builtOn></builtOn>
 <workspace>D:\Views\someone</workspace>
 <hudsonVersion>1.561</hudsonVersion>
</build>


i need a perl code which returns /build/displayname value to perl variable.

please help, i'm need of this
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900