Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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 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?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2015-11-29 01:57 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (746 votes), past polls