xsl-list
[Top] [All Lists]

Re: [xsl] Restrict Key to specific parent

2006-12-01 09:54:51
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(_at_)mulberrytech(_dot_)com
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
======================================================================


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>