Slashdot Mirror


Going from Perl to XSL?

linderdm queries: "I am a perl web programmer who has taken a new job that requires me to do web 'programming' using XML, XSL, and Oracle XSQL. My minor experience with XSL so far has been horrible! It is so hard to do things that were very easy in Perl (looping!?!) and just seems incredibly verbose. I am curious to find out what the Slashdot community's experience has been with web programming in procedural languages (Perl, Java, etc) then switching to tag based XML/XSL. Am I wrong to be trying to do procedural programming with XSL?"

1 of 52 comments (clear)

  1. Re:XML is not a programming language by tenman · · Score: 5, Interesting

    Right On!!! I'm so glad to see this right off the bat. Just because you don't know how to use a language doesn't mean it sucks. I have spent the last 2 years working on XML 'based' applications. The parser and the standards are what is so cool about it. The /. group should absolutely fall in love with this. It is open, and powerful, it's open, and open. What more could you want from a data storage standard?

    Like the parent poster said, you don't program loops with XML or XSL, you use something like XPATH in conjunction with PERL to do that. I have to agree that Oracle's XML stuff is not the coolest in the world (or anywhere else for that matter), but don't knock XML. XML is your friend, and you need to learn how to use it before you bash it.

    </soapbox> ha! "soap" </pun>