This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]