May 29, 2003

On implementing custom XsltContext when extending XPath

Here is another easy-to-solve-when-you-know-what-is-wrong problem. It took me couple of hours to find the solution, so I wanna share it. Hope it'll be useful to anybody. The problem. When adding custom XPath extension functions as described in "HOW TO: Implement and Use Custom Extension Functions When You Execute XPath Queries ...

May 28, 2003

aloihin Backhuhn ambulant chopin

Tim Bray on well-crafted spam: ongoing aloihin Backhuhn ambulant chopin. That's funny. You know, spam became a part of our life. But being behind mozilla's junk mail filtering I'd agree - we are winning. ...

EXSLT conqueres .NET

Dare has published a new cool article at his MSDN Extreme XML column: "EXSLT: Enhancing the Power of XSLT". It's about Dare's implementation of 60+ EXSLT functions for .NET XSLT processor. Kudos! That was a pile of work due to number of functions, I'm sure the community will appreciate Dare's ...

.Net Developer Journal May Issue in PDF

May Issue of .Net Developer Journal is available for free in PDF format. Good for those not subscribed like me. [Via Roy Osherove]. ...

Blogging and MSFT

Joshua Allen: When I started blogging a few years ago, I hoped that one day many MSFT employees would be blogging. The theory (to my ENFP mind) was that people would have a better opinion of MSFT if they could see that MSFT is not a monolithic evil juggernaut, but ...

May 25, 2003

The Matrix can make you thinking

Wow, while reading CORPORATE MOFO reloads THE MATRIX by Ken Mondschein I felt my flesh crawled when he shows how deep the ideas behind the Matrix movie can be. "cinematic ass-stomping" :) Worthwhile reading anyway. I knew it at the heart - the Matrix movie is just a postindustrial ...

If only the same could be said for Xpath2....

I like this from XSL-List by David Carlisle: XSLT 2 appears to be based on user concerns and problems. Apart from this character encoding feature (which is also useful in non xml outout, eg outputting TeX commands in text output) It also has a lot of help for grouping and ...

May 23, 2003

Matrix has you

Finally Matrix has been reloaded in Israel. Just back from the movie. Well, for sure I have to contemplate on that and to see it again, may be then I will be able to formulate my feelings... ...

May 20, 2003

On returning nodeset from XSLT extension function

Update: This hack is about .NET 1.X. In .NET 2.0 you don't need it. In .NET 2.0 with XslCompiledTransform class you can return a nodeset as XPathNodeNavigator[]. As all we know, unfortunately there is a confirmed bug in .NET Framework's XSLT implementation, which prevents returning a nodeset from an XSLT extension ...

May 18, 2003

XInclude.NET 1.0beta released

Just released XInclude.NET 1.0beta. Changes since 1.0alpha: Support for XPointer framework, shorthand pointer, element(), xmlns() and xpath1() schemas Minor bug fixes So enjoy. ...

May 15, 2003

Hacking method names

Sometimes at rainy days of our life we can found ourself looking for a way to create something impossible, say a method containing dash in its name ;) Well, if it seems to be impossible in one reality, try another one. It's impossible in C#, but it's possible in ...

May 13, 2003

Plumbing XPointer

I've implemented XPointer support (shorthand pointer, xmlns(), element() and xpath1() schemas) for the XInclude.NET project. (Btw, I'm wondering if XPointer may be useful not only in XInclude context?) It was really fun and good exercise. Here are some details: Parsing. XPointer grammar is actually one of the simplest and ...

May 11, 2003

How to check XML whitespace char

Working on XPointer parser for the XInclude.NET project I just realized there is no way (if I'm not mistaken) in .NET to check if a character is XML whitespace character. Plus all that functionality needed when parsing XML lexical constructs. No big deal, had to resort to old java ...

May 7, 2003

SOAP 1.2 becomes W3C Proposed Recommendation

SOAP Version 1.2 Becomes a W3C Proposed Recommendation. It's last but one stage in W3C Recommendation cooking process, so probably we'll get SOAP 1.2 Rec this summer. ...

May 5, 2003

XmlReader V2

More good news: as Joshua Allen has confirmed, they are working on making XmlReader easier to implement. Primarily by "making some stuff that is currently abstract virtual". I look forward to see it. ...

New XSLT 2.0 Working Draft

New XSLT 2.0 Working Draft has been published. Interesting changes since November 2002 version: A new bunch of date/time formatting functions. "It is now a static error for xsl:call-template to supply a parameter whose name does not match the name of any parameter declared in the called template.". Wow ...

On xml:base attribute in XIncludingReader again

Gudge thinks it's better to expose synthetic xml:base attribute as first one in order to solve access-by-index problem. Sounds convincing. I actually didn't implement index-based access yet, but only access by navigational methods MoveToFirstAttribute()/MoveToNextAttribute()/MoveToAttribute(). Last one is obvious, and in first and second ones my logic was as follows ...

Neo as an early adopter

Quite interesting analysis by Chris Suellentrop, unexpected conclusion - Neo is an early adopter of the Matrix product. [Via Robert McLaws.] ...

May 4, 2003

Generating Word documents using XSLT

The world is getting better. And the Word too! Word 2003 Beta2 now understands not only those *.doc files, but XML also. It's all as it should be in open XML world (what makes some people suspicious): there is WordML vocabulary, its schema (well documented one, btw) is available as ...

On synthetic attributes in XmlReader

Gudge is mediatating on exposing synthetic attributes in XmlReader. Here are some details on how I've implemented synthetic xml:base attribute in the XIncludingReader. List of members implementing the logic: MoveToAttribute(), MoveToFirstAttribute(), MoveToNextAttribute(), ReadAttributeValue(), HasValue, IsDefault, Name, LocalName, NamespaceURI, NodeType, Prefix, QuoteChar, MoveToNextAttribute(), ReadAttributeValue(), Value, ReadInnerXml(), ReadOuterXml(), ReadString(), AttributeCount, GetAttribute(). It's ...

May 1, 2003

XInclude.NET 1.0alpha released

I've released first alpha version of XInclude.NET library today. Once I got xml:base working and meekly passed through XInclude Conformance Test Suite with almost no fails I decided to release this stuff. There is still plenty room for optimizations and XPointer is still not supported, anyway I like "release ...

WordML rumors and hopes

Everyone seems to be talking about WordML these days and it sounds really intriguing. Dare has posted a link to the Microsoft Word XML Content Development Kit Beta 2, which contains WordML XML schema. Don Box is transforming WordML to RSS20+XHTML and says it's easier than transfroming HTML+CSS due ...