Subject: Re: [xsl] How to get innermost ancestor From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx> Date: 24 Jul 2006 06:59:42 +0100 |
>>>>> "J" == J S Rawat <jrawat@xxxxxxxxxxxxx> 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::*[@userlevel][1] . -- Colin Adams Preston Lancashire
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] How to get innermost ancestor, J. S. Rawat | Thread | RE: [xsl] How to get innermost ance, Michael Kay |
[xsl] How to get innermost ancestor, J. S. Rawat | Date | Re: [xsl] check if document exists, Todd Baker |
Month |