Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

XML/XSLT Parser

by rcxau (Initiate)
on Dec 16, 2002 at 22:35 UTC ( [id://220385]=perlquestion: print w/replies, xml ) Need Help??

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

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: XML/XSLT Parser
by ibanix (Hermit) on Dec 16, 2002 at 23:29 UTC
    XML::Simple will parse XML for you.
    The CGI module will allow you to write CGI applications.

    Good luck writing it.

    This is a perfect time to whip out two new acronyms I've wanted to use:
    PMWNDYW: Perl Monks Will Not Do Your Work
    and
    PMWNDYHW: Perl Monks Will Not Do Your Homework

    $ echo '$0 & $0 &' > foo; chmod a+x foo; foo;
Re: XML/XSLT Parser
by thatguy (Parson) on Dec 16, 2002 at 23:01 UTC
    Hey yeah!.. I need a 1968 Fastback with the keys locked inside so I can pop the locks and drive it off with very little work!

    Oh yeah, and I want it for free!!

    No? Well then.. What ever happened to that discussion a long, long time ago about listing monks who would do work on request for nodes such as this?

Re: XML/XSLT Parser
by FamousLongAgo (Friar) on Dec 17, 2002 at 04:27 UTC
    I have written a clever little program that does exactly what you want. Unfortunately, it is too long to fit into this textarea.
    A reply falls below the community's threshold of quality. You may see it by logging in.
    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: XML/XSLT Parser
by tachyon (Chancellor) on Dec 17, 2002 at 00:27 UTC

    Reminds me of a movie with Tom Cruise in it and this great line...

    Show me the money

    and I'll show you the code...

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Re: XML/XSLT Parser
by Maclir (Curate) on Dec 17, 2002 at 01:52 UTC
    No 'make' no 'install' Just configure, FTP Upload to cgi bin, chmod, ready to use.
    So how do you propose to have all the various code installed and operational? Remember, most of these tools are modules that are added to the perl core. That means some reasonable installation process - you get the source code, configure, compile and install. It is not that scary.
Re: XML/XSLT Parser
by rcxau (Initiate) on Dec 17, 2002 at 21:27 UTC
    People
    don't be so harsh on me I live in Australia and I'm only 13 years old. I am about to start learning perl. I need this script for my website (i can't update it till i get it). I want to use XML/XSLT for parts of my site but only about 58% of people have browsers that support it.
    Thanks RCXAU

    Email me at
    rcxau@yahoo.com.au
      Dear rcxau,

      Welcome to Perl Monks. We're excited that you want to learn perl, and we are glad to offer our advice. However, you should aquaint yourself with the Perl Monks FAQ so that you will be welcomed into the brotherhood without commiting any serious "faux pas".

      Here are a few abbreviated and unwritten rules of the Monastery:

      1. We will not write scripts for you. If you post code that you have written, we will be happy to offer advice and suggestions, but we do not write scripts on demand.

      2. We like questions that are: Puncuated correctly. Include breaks between lines and paragraphs. Include code that we can read, and are surrounded by <code> and </code> tags. Don't ask a question that isn't about Perl (unless it relates to Perl; and if it's not about actual code it should probally go in Meditations or Perl Monks Discussion).

      3. Humility and politeness are the two highest virtues of a Monk, outside of good coding. Ask politely, do not demand. Show that you are willing to try something new. Read a different node or manual when requested to do so. Thank your fellow monks with a public or private reply. Respect the wisdom of the monks more elder than yourself.

      4. We like it when you don't re-invent wheels. High-level monks are granted exceptions to this, as they know what they're doing. This usually means:
      * Use CPAN modules
      * Don't write your own CGI handler, use CGI.pm
      * Don't write your own XML parser, use XML::Parser or some version thereof
      * Understand what you are talking about before you post

      5. Giving back is the soul of the community. Reply to other questions, if you have a reasonable suggestion. If you do not, keep your peace and learn from the other Monks. If you feel inspired, write some Perl Poetry, submit your Meditation, or show us a Cool Use For Perl.

      6. Make a reasonable attempt to learn the thing that binds us all together in Brothership: Perl!

      Your fellow monk,
      ibanix

      $ echo '$0 & $0 &' > foo; chmod a+x foo; foo;
      A reply falls below the community's threshold of quality. You may see it by logging in.
        Hi rcxau, and welcome to the Monastery,
      I have to admit that a couple replies to your original post nearly made me laugh a drink of water out my nose!

      Anyways, you might enjoy reading a few nodes before trying again.   There are several other good 'posting help' nodes, but these seem like a good short-list:
        On asking for help
        Writeup Guidelines
        How to get the most of your question from the monks
        Welcome to the Monastery! Make yourself at home.

      Taking a shot at it myself, a Seekers of Perl Wisdom post like this might get you the kind of help that Perl Monks is famous for the world 'round:

        G'day mates!
      I've a website where I want to do some XML/XSLT content, but am having some problems.   (clear description of probs here)   I'd like to be able to update the content from a Perl CGI script, but my ISP won't let me install modules.

      I used the PerlMonks "Search" form to look for XML and XSLT, but didn't find anything that looked relevant.   Any monks care to help out a young Aussie starting out with Perl?
        (Ozzite parting phrase here)
        rcxu

      Btw, you are to be commended for not posting wrongly to Catagorized Questions and Answers as I did on my first post.
        cheers,
        ybiC
          striving toward Perl Adept
          (it's pronounced "why-bick")
      Only 13! Why didn't you say so ...
      Maybe Santa can help!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2024-04-16 09:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found