Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

XML/XSLT Parser

by rcxau (Initiate)
on Dec 16, 2002 at 22:35 UTC ( #220385=perlquestion: print w/ replies, xml ) Need Help??
rcxau has asked for the wisdom of the Perl Monks concerning the following question:

Help!
I need an XML/XSLT Parser written in Perl/CGI that i can just write a config file then upload ready to use.
No 'make' no 'install' Just configure, FTP Upload to cgi bin, chmod, ready to use. Please help! Thankyou in advance RCXAU

Comment on XML/XSLT Parser
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 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 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 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.
      Could you please email the script to me?
      My email is rcxau@yahoo.com.au
      Thanks A heap
      RCXAU
        Howdy!

        Alas, I fear that the liklihood that the referenced script will fit in your mailbox is proportional to your demonstrated ability to pick up the subtle clues dropped in response to your request.

        ...and a wise provider would start with use Acme::Morse; and ensure that the script runs before sending it out.

        yours,
        Michael

      FamousLongAgo, I seriously hope you are not going to email this script to him; I'm hoping that is a joke.

      Give a man a script, he's satisfied for a day; teach a man to code, and he can write his own scripts.

      And hopefully give something back.

      Cheers,
      ibanix

      $ echo '$0 & $0 &' > foo; chmod a+x foo; foo;
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;
        Sorry but I need a script soon. I would love to write my own but it will be ages before I am good enough to write one. I was hoping someone knew the location of one on the web or had one written. I was not asking people to write one specially for me.
        I have little experience with perl, my only experince being configuring, uploading, chmodding and tessting a perl written forum. I was hoping someone had, or knew of a perl XML/XSLT parser to transform my code. One that I could configure, upload, chmod and use. Sorry if I am asking too much.

        RCXAU
        Email: rcxau@yahoo.com.au
        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
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? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2014-07-14 07:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (256 votes), past polls