Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://344443]
help
Chatterbox?
[Your Mother]: Cumin? Now I want tacos...
[Eily]: there should be an option in grep for fuzzy order of the letters in the pattern
[Eily]: as in "I might have inverted two, but my eyes misread in the some order as my fingers mistype"
[LanX]: can't find a definition for the sound
[LanX]: Voiceless_palatal_ fricative
[Eily]: Lanx https://en. wikipedia.org/ wiki/Voiceless_pal atal_fricative
Eily got the Cowboy message

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (13)
As of 2017-03-27 17:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (320 votes). Check out past polls.