Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

match some word

by dhaval0203 (Initiate)
on Aug 03, 2010 at 11:34 UTC ( #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

    Murugesan Kandasamy
    use perl for(;;);

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2021-11-29 16:07 GMT
Find Nodes?
    Voting Booth?

    No recent polls found