Project

Profile

Help

xslt 2.0 ?

Added by Anonymous about 16 years ago

Legacy ID: #4823235 Legacy Poster: Jean-Philippe Martin (jeanph01)

Hi, This a rather naive question ... This week i wanted to code some function for transforming an xml into a html. I used IE 6.0 which use, i found out, xslt 1.0. I found that the xslt 1.0 spec did not offer what I was trying to do. Ex: manipulate dates or simply alternate the row colors of a table without javascript (only xslt processing). Searching a little I found that I could do it with xlst 2.0 but it is not supported by IE to date (8.0), nor by the latest msxml or even .net 2.0 !! I even found a blog post from ms stating that that they won't implement xlst 2.0 for some obscure reason : http://blogs.msdn.com/mfussell/archive/2004/05/13/130969.aspx (it's from 2004 !!!). For Firefox 3.0, the only thing I found is a brainstorming page which give some links about xpath 2.0 and xslt 2.0: http://wiki.mozilla.org/Firefox/Feature_Brainstorming:Web_Standards_Support Looking for a client side implementation, i found saxonica. But I would say it's more of a fat client/server implementation. Definitely not callable from a browser. So my question is, if you know the answers, given the benefits of xlst 2.0 + xpath 2.0, why is there not much implementation of it to date ? Thank you for your responses. Jean-Philippe Martin


Replies (3)

Please register to reply

RE: xslt 2.0 ? - Added by Anonymous about 16 years ago

Legacy ID: #4823305 Legacy Poster: Michael Kay (mhkay)

I don't think this is really the right place for the question. Try the xsl-list at mulberrytech.com. Microsoft have changed their tune; more recent blog postings suggest they are now implementing XSLT 2.0, but they changed strategy very late in the day so I wouldn't expect anything to emerge for a while. I get the impression that in a number of the big software players, the technical groups have been keen to implement 2.0 (and indeed in a couple of cases I know of, have done so) but have had difficulty getting the marketing and business people to take enough interest to get the thing finished and shipped. I'm sure that the fact that Saxon is so well established in the space will have affected their thinking - though I fully agree with you that there are parts of the space that Saxon doesn't cover. (Apart from the browser, the other important one is the PHP scene.) But the bottom line is that everyone who hasn't implemented XSLT 2.0 has different reasons for not having done it, and none of them are letting on.

RE: xslt 2.0 ? - Added by Anonymous about 16 years ago

Legacy ID: #4823396 Legacy Poster: Jean-Philippe Martin (jeanph01)

Well thank you for your kind (and fast) response. I will follow with interest what Ms and the others (Oracle, IBM, etc..) will do to implement it.

RE: xslt 2.0 ? - Added by Anonymous about 16 years ago

Legacy ID: #4826829 Legacy Poster: nico_inria (nico_inria)

firefox does not even implement xslt 1.0 as it does not support namespace:: axis...

    (1-3/3)

    Please register to reply