I love much XSLT2, though I do not love much XSLT1.
I have noticed a lot of time ago about XQuery. It seemed nice language without XML overhead and very straightforward.
Yet, I’m using XSLT for my XMLs.
I have found some nice article describing the diff between XSLT2 and XQuery : Comparing XSLT and XQuery
On the other hand nor Mozilla will support XSLT2 in the near future. Only EXSLT will be supported.
Microsoft about XSLT 2.0. Sounds interesting if IE will support XSLT2 before FF.
Can you summarize why you like XSLT 2.0? I abandoned XSLT 1.0 ten years ago as too hard to develop with, given the immature tools. Maybe I should return?
Comment by lschuele — November 25, 2009 @ 5:53 pm |
You can read about XSLT 2.0 in the internet.
There are huge amount of improvements over XSLT 1.0 .
Hard to develop.. Yes, I agree. The XML notation is not a good friend.
Today, I think the better solution for XSLT 2.0 could be LINQ to XML in .Net or perhaps StringTemplate library (http://www.stringtemplate.org/).
Or Nemerle StringTemplate:
http://code.google.com/p/nemerle/source/browse/nemerle/trunk/ncc/testsuite/positive/string-template-1.n
http://code.google.com/p/nemerle/source/browse/nemerle/trunk/ncc/testsuite/positive/string-template-2.n
http://code.google.com/p/nemerle/source/browse/nemerle/trunk/ncc/testsuite/positive/string-template-3.n
XSLT is nice to a very narrow use. A simple copy , changing of XMLs .
When you have a lot of logic in XSLT it becomes very hard to develop it.
But definitely XSLT 1.0 is not a good choice
Comment by NN — November 26, 2009 @ 1:20 pm |