Re: [xsl] Restrict Key to specific parent

Subject: Re: [xsl] Restrict Key to specific parent
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Fri, 01 Dec 2006 11:54:29 -0500
Hi,

At 07:35 AM 12/1/2006, you wrote:
> You don't want and can't use keys here, as keys by definition
> work across document-wide scope.

  Mmh, I didn't follow in depth the actual problem in this thread, but
in XSLT 2.0, the three-arguments key function can reduce the scope to a
subtree in one document.  Isn't it?

You're right ... was he using 2.0? (Can't remember now.) In any case, in that context the statement is wrong, for which I apologize.


It's just a feature of 2.0 keys that I haven't had occasion to use yet. :-)

Nonetheless I probably wouldn't bother with keys in his case, unless I faced performance issues.

Cheers,
Wendell


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================

Current Thread