Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://344443]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2017-01-20 07:20 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (173 votes). Check out past polls.