[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: keys and idrefs - XSLT2 request?
Subject: Re: keys and idrefs - XSLT2 request?
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 09 Oct 2001 12:48:54 -0400
|
At 11:33 AM 10/9/01, Jeni wrote:
Another thing I just thought of was perhaps you could use the id()
function when setting the key value. The id() function can take a
space-separated list of IDs and gets you all the elements with those
IDs. Then you can go from those elements to the IDs themselves, to
index the element holding the IDREFS attribute by the values of the
IDs:
<xsl:key name="control"
match="process"
use="id(@control)/@id"/>
I think that would work.
Cunning!
Naturally, I invoked Jeni's name, only to find she'd already appeared with
all my solutions, and then some, before I even asked....
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
======================================================================
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
- RE: keys and idrefs - XSLT2 request?, (continued)
- DPawson - Tue, 9 Oct 2001 09:24:08 -0400 (EDT)
- Michael Kay - Tue, 9 Oct 2001 10:42:59 -0400 (EDT)
- Jeni Tennison - Tue, 9 Oct 2001 11:48:30 -0400 (EDT)
- David Carlisle - Tue, 9 Oct 2001 12:42:27 -0400 (EDT)
- Wendell Piez - Tue, 9 Oct 2001 12:52:37 -0400 (EDT) <=
- DPawson - Tue, 9 Oct 2001 09:29:35 -0400 (EDT)
- Joerg Pietschmann - Tue, 9 Oct 2001 12:46:42 -0400 (EDT)
- DPawson - Wed, 10 Oct 2001 03:09:49 -0400 (EDT)
- DPawson - Wed, 10 Oct 2001 03:59:42 -0400 (EDT)
|
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
RSS 2.0 |
|
Atom 0.3 |
|
|