Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: Just use an XSLT stylesheet

by hardburn (Abbot)
on Apr 12, 2004 at 16:58 UTC ( #344443=note: print w/ replies, xml ) Need Help??


in reply to Re: Just use an XSLT stylesheet
in thread Just use an XSLT stylesheet

No. TMTOWTDI shouldn't be abused to say "More than one way, as long as that way is in Perl". If XSLT could show sizeable benifits for XML manipulation over Perl + (insert CPAN module), then people's statements to suggest XSLT over Perl would be completely justified.

However, XSLT is often far more verbose than a similar solution in Perl would be (there's an excelent article on Kuro5hin.org comparing XML manipulation in XSLT, Perl, and Haskell). That's the reason why people should avoid blindly suggesting the use of XSLT over Perl, not because it's not Perl.

Being a good coder means knowing your tools and how best to apply them. Perl happens to be one of the most flexible tools you can find, but sometimes it isn't the one that should be used.

----
: () { :|:& };:

Note: All code is untested, unless otherwise stated


Comment on Re: Re: Just use an XSLT stylesheet
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://344443]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (11)
As of 2014-10-21 11:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (101 votes), past polls