Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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?
[Tanktalus]: perldigious: I'm not looking to get rich. I'm looking for interesting work, with good continuity of employment, and maintenance of our current lifestyle. (An improvement wouldn't be bad, either, but that's not a requirement ;) )
erix enjoys the confusion++
[Your Mother]: :P
[Tanktalus]: Without confusion, I'd be out of a job ;)
[Tanktalus]: Already. :D
[Lady_Aleena]: Your Mother, I wish it did have a way to put in a directory to search.
[Your Mother]: Thatís silly. Itís a string op tool.
[Lady_Aleena]: So I guess I'll go argue with File::Find and grep.
[Your Mother]: I would probably use Path::Tiny instead for it's slurp and such.
[Your Mother]: s/it's/its/

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2017-05-23 19:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?