[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Haskell programmer's rant about xslt

Subject: Re: Haskell programmer's rant about xslt
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Tue, 17 Apr 2012 16:34:27 +0100
Re:  Haskell programmer's rant about xslt
> I agree. I was puzzled by this criticism. Surely it wasn't about the
> encapsulation of logic in templates, subroutines, or (gasp) functions. So is
> he unhappy about data-driven transformations? (Does he have a better idea
> for this class of problem?)

I think he was caught out by import precedence, the old problem of the
order of the imports determining the priority of the templates.

And then (if we want to be harsh) wasn't able to debug the problem,
although he says it only took an hour to sort out...  if thats the
case its hardly worth blogging about.

I think the 'final' modifier in 3.0 might help here, as you would be
able to make the template you expect to be being matched (but isnt)
final, then the processor will complain about the template that's
overriding it.




-- 
Andrew Welch
http://andrewjwelch.com

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.