Vivek:
The
value-of function of XSLT produces
a node not a node set. If more than one values are possible, then it produces the "nearest one".
If I understood that right, I am thinking it would output the "title" element nearest to the axes, in this case it is "/decendant-or-self::" (for //, right?).
So the output is (nearest to the root node "/") will be seen. Hence, the result.
Anyone else has a different view, feel free....
regds.
- madhav
Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81