"J" == J S Rawat <jrawat(_at_)techbooks(_dot_)com> writes:
J> Could anyone please let me know that how could I get the
J> innermost ancestor of "imagedata" by xslt. If I want most inner
J> ancestor of <imagedata fileref="abc.tif"/> having attribute
J> "userlevel" than it should return "<sec2 userlevel="4.1.2.1">
J> not "<chapter userlevel="3.1.2">.
I think you are asking for ancestor::*[(_at_)userlevel][1] .
--
Colin Adams
Preston Lancashire
--~------------------------------------------------------------------
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>
--~--