RE: Regular expression functions (Was: Re: [xsl] comments on December F&O draft)

Subject: RE: Regular expression functions (Was: Re: [xsl] comments on December F&O draft)
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Fri, 11 Jan 2002 12:28:49 -0000
> I suspect that the
> introduction of user-defined functions in XSLT will lead to more
> functions that do this [construct and return trees],
> but don't know whether people would feel it
> was acceptable for a built-in function.
>
It's messy because of the problem that nodes have identity. You have to
define whether two calls of the same function return the same tree or
different trees. I guess one could say that it's explicitly
implementation-defined, and no-one would worry too much about it. But it's
also something you want to avoid if at all possible because constructing new
trees is always expensive.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread