Subject: Re: [xsl] keys and idrefs - XSLT2 request? From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 09 Oct 2001 12:48:54 -0400 |
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.
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] keys and idrefs - XSLT2 r, David Carlisle | Thread | RE: [xsl] keys and idrefs - XSLT2 r, DPawson |
Re: [xsl] keys and idrefs, David Carlisle | Date | Re: [xsl] keys and idrefs - XSLT2 r, Jeni Tennison |
Month |