http://qs321.pair.com?node_id=852642

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(;;);