Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

match some word

by dhaval0203 (Initiate)
on Aug 03, 2010 at 11:34 UTC ( [id://852642]=perlquestion: print w/replies, xml ) Need Help??

dhaval0203 has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks i am new in perl, i have a xml file i want to search a word which is in quatation mark and want to saparate out the word which is not in tag. for ex..

<string name="no">No</string> <string name="password">Password</string>

The answer should be

no No password Password

Thank you!!

Replies are listed 'Best First'.
Re: match some word
by marto (Cardinal) on Aug 03, 2010 at 11:44 UTC
Re: match some word
by Anonymous Monk on Aug 03, 2010 at 11:44 UTC
Re: match some word
by murugu (Curate) on Aug 03, 2010 at 15:39 UTC
    use XML::Twig

    Regards,
    Murugesan Kandasamy
    use perl for(;;);

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://852642]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-26 01:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found