Neighboring Siblings?

Posted by Ramkumar Menon on Oracle Blogs See other posts from Oracle Blogs or by Ramkumar Menon
Published on Wed, 16 Feb 2011 15:30:25 -0800 Indexed on 2011/02/17 7:30 UTC
Read the original article Hit count: 428

Filed under:

Found an Interesting observation on C.M.Spielberg McQueen’s Blog – XPath 1.0 describes, amongst other axes, ones that allow access to immediate parent and immediate child nodes, as well as access to ancestor and descendant node-sets, but does not provide for immediate siblings – The only way to access these are via predicates – preceding-sibling::*[1] or following-sibling::*[1], and not explicit next-sibling and a previous-sibling axes.

© Oracle Blogs or respective owner