xsl-list
[Top] [All Lists]

Re: [xsl] what to do if id() doesn't recognize xml:id

2011-01-02 02:34:51
2011/1/2 David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk>:
<xsl:key name="id" match="*[(_at_)xml:id]" use="@xml:id"/>

....

key('id','foo')...


Ah, O.K.  I never quite understood what the key element/function was
for, but now it becomes clearer.  Thanks very much!

Thomas W.

--~------------------------------------------------------------------
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>
--~--