Re: [Element Traversal LC] access to element by index

* Daniel Glazman wrote:
>3. using XPath :
>
>    document.evaluate('*[3]', myFooElement, null,
>                      XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,
>                      null).snapshotItem(3);

I was thinking of .selectSingleNode("*[3]") which is not part
of the DOM Level 3 XPath Note but widely implemented anyway.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Friday, 28 March 2008 19:22:44 UTC