Random photo
Loading...
Domains for sale
|
September 13, 2004EXSLT.NET 1.1 releasedHere we go again - I'm pleased to announce EXSLT.NET 1.1 release. It's ready for download. The blurb goes here: EXSLT.NET library is community-developed free open-source implementation of the EXSLT extensions to XSLT for the .NET platform. EXSLT.NET fully implements the following EXSLT modules: Dates and Times, Common, Math, Random, Regular Expressions, Sets and Strings. In addition EXSLT.NET library provides proprietary set of useful extension functions. Download EXSLT.NET 1.1 at the EXSLT.NET Workspace home -
http://workspaces.gotdotnet.com/exslt EXSLT.NET Features:
Here is what's new in this release:
Any comments and bug reports are welcome! PS. Well, despite Dimitre's and my light side's objections I implemented dyn2:evaluate(). I know, I'm evil... September 13, 2004 6:05 PM
| #XML in .NET
Comments
Shit. Sorry but I could not find the link to 1.1 release, only 1.01 and 1.0 releases are available in the site... Posted by: Gaston at September 14, 2004 4:04 PMYes, implementing fun:function() will be very useful. As for dyn:evaluate(), please, note that it is very difficult to implement it completely as per spec. As result the existing implementations vary from one another and are quite incompatible. Also, just a few vendours implement dyn:evaluate(). So, the end result goes against the principles of EXSLT -- portability isn't facilitated if dyn:evaluate is used; in fact in many cases it might be reduced. Posted by: Dimitre Novatchev at September 14, 2004 4:14 AMYes, implementing fun:function() will be very useful. As for dyn:evaluate(), please, note that it is very difficult to implement it completely as per spec. As result the existing implementations vary from one another and are quite incompatible. Also, just a few vendours implement dyn:evaluate(). So, the end result goes against the principles of EXSLT -- portability isn't facilitated if dyn:evaluate is used; in fact in many cases it might be reduced. Posted by: Dimitre Novatchev at September 14, 2004 4:13 AMOh, that small function didn't take much time. In fact I was spent too little time designing it - as Jonathan pointed out. Oleg, I was not implying that dyn:evaluate() was evil -- just that implementing it may take your time and prevent you from dealing with something much more important... Just think of it :o) If I had time for EXSLT, the first new function I'd implement would be... guess what? func:func()
Dimitre. Posted by: Dimitre Novatchev at September 13, 2004 11:40 PMOk, I fixed online documentation. Is it down again??? Oh, I better provide alternative download location then. Posted by: Oleg Tkachenko at September 13, 2004 8:01 PMWell, you are right, that's not really reliable. Providing namespaces in third argument is sort of clumsy too because of problems with quotes. Anyone has better idea how to pass namespace bindings in string argument? Unfortunately the best solution - define namespaces in stylesheet as usual - is unfeasible to implement :( Posted by: Oleg Tkachenko at September 13, 2004 7:58 PMFrom the documentation (which is all I can see right now since GDN Workspaces are down...), for dyn2:evaluate() : "All namespace prefixes that are in scope for the context node (or its parent node if the context node isn't element node) can be referenced in the evaluated XPath expression. That means you don't have to provide additional namespace bindings if your XPath expression only uses namespace prefixes that are in scope for the context node." My question is : are you comfortable with writing stylesheets (or code for that matter) that depend on prefixes declared in the source XML document ? As an example, if I take your sample 'orders' document and remove the xmlns:o declaration from the document element, which does not change the document's meaning a bit (since that prefix is not used in it), it breaks your stylesheet. Posted by: Jonathan Perret at September 13, 2004 7:45 PMPost a comment
Listed below are links to weblogs that reference this post:
EXSLT.NET 1.1 from flex-mx
EXSLT.NET 1.1 released from Sonu Kapoor's WebLog
EXSLT.NET 1.1 released from Dare Obasanjo's WebLog |