On 25/08/2010 20:58, Hermann Stamm-Wilbrandt wrote:
Hello,
after being directed to use xml:id with the id() function in another thread
I got another pointer from David Carlisle to using "id" in browsers.
Adding xhtml namespace to an element allows to use its id attribute as
id (browsers "know" that's an id).
Now I did some experiments which browsers support what.
why not simply use key(,'id',foo) instead if id(foo) using <xsl:key
name="id" match="*[(_at_)id]" use="@id"/> which doesn't require any ID
properties of the node?
David
--~------------------------------------------------------------------
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>
--~--