Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Reaped: Retrieve xml element and value in perl without spicifying element name

by NodeReaper (Curate)
on Nov 20, 2012 at 13:20 UTC ( #1004715=perlquestion: print w/replies, xml ) Need Help??
NodeReaper has asked for the wisdom of the Perl Monks concerning the following question:

This node was taken out by the NodeReaper on Nov 20, 2012 at 15:47 UTC
Reason: [Sinistral]: reap: duplicate of Re^2: hi i want to retrieve the element and values from xml document

You may view the original node and the consideration vote tally.

  • Comment on Reaped: Retrieve xml element and value in perl without spicifying element name

Replies are listed 'Best First'.
Re: Retrieve xml element and value in perl without spicifying element name
by greengaroo (Hermit) on Nov 20, 2012 at 14:41 UTC

    I suggest you read about XML DOM and XPath, then look for XML modules on CPAN, to help you.

    Remember: PerlMonks is not a programming service. Please read the guidelines on How (Not) To Ask A Question.

    In a few words, you should try to solve the problem by yourself first, Google for answers, then if all this fails, post a question here and include your non-working or partially working code with it. You are more likely to have valuable answers this way.

    Good luck!

    Testing never proves the absence of faults, it only shows their presence.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1004715]
help
Chatterbox?
[Discipulus]: choroba if let your company to hire Tanktalus and marioroy ... what a big fishing!
[Discipulus]: i choice prague!!
[choroba]: 1200 years is enough :-)
[marioroy]: Lady_Aleena my $ans = qx! find . -name "*.pl" -exec ls -l {} \\; !;
[Tanktalus]: My basic problem right now is that if I were willing to move, I could be back in Toronto with a pay raise. We have a number of reasons for not wanting to do that.
[marioroy]: I had to backslash the backslash inside qx.
[Tanktalus]: marioroy++ # nice catch
[Lady_Aleena]: marioroy, that makes kinda makes sense.
[Discipulus]: yes i can survive also in younger town.. but when i passed i saw many strange letters..
[Lady_Aleena]: marioroy, sorry, I am not making sense right now.

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2017-04-23 20:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.