Re: [xsl] Re: Identity transformation for XSLT 2.0

Subject: Re: [xsl] Re: Identity transformation for XSLT 2.0
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Sun, 23 Dec 2007 23:43:19 +0530
Hi Mike,

On Dec 23, 2007 11:01 PM, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> The fact that something can be coded in XSLT is not itself an argument not
> to include it in the standard function library. That argument can be used to
> show that you don't need a "+" operator, because people can always write
> "--".

I recently needed to do set difference operation in a 2.0 stylesheet,
using Saxon 9 (basic version). I was a bit surprised to find that
Saxon reported, "Unknown system function except()".

The F&O spec defines this function
(http://www.w3.org/TR/xquery-operators/#func-except). Could you please
tell, why this built in function not implemented in Saxon 9.

As a workaround, I had to resort to $seq1[not(. = $seq2)] ...


-- 
Regards,
Mukul Gandhi

Current Thread