Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Struggling with XML

by choroba (Chancellor)
on Oct 05, 2012 at 12:04 UTC ( #997457=note: print w/replies, xml ) Need Help??


in reply to Struggling with XML

Using XML::XSH2:
open 1.xml ; echo Status: /root/dict[@key="status"]/value ; for /root/dict[@key="data"]/list/dict[@key="subnet" or @key="netmask" +or @key="gateway"] echo :s @key ': ' (value) ;
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997457]
help
Chatterbox?
Discipulus profited choroba distraction to answer a tk question..

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2017-07-27 10:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (409 votes). Check out past polls.