xsl-list
[Top] [All Lists]

Re: How to find parent's-parent's-sibling-sibling name

2002-09-18 23:27:35
You could use variable:
<xsl:variable name="FOO">
   <xsl:value-of select="BehaviourInfo/Trap/Name"/>
</xsl:variable>

If the BehaviourInfo attribute ID is to be noticed you might want to make 
if sentence.

Cheers 
Jarkko Moilanen

Lainaus "Satish, L. Gnanendra" <LGnanendra(_dot_)Satish(_at_)sciatl(_dot_)com>:

<BehaviourInfo ID="3">
     <Name>&text_88;</Name>
     <Trap>
       <Name>AlarmEvent</Name>
     </Trap>
     <BehaviourBitmaps>
       <BehaviourBitmapsInfo>
         <Name>&text_90;</Name>
       </BehaviourBitmapsInfo>
       <BehaviourBitmapsInfo>
         <Name>&text_91;</Name>
       </BehaviourBitmapsInfo>
     </BehaviourBitmaps>
</BehaviourInfo>

Right now I am iterating in the "BehaviourBitmapsInfo" tag. How do I
find
"Trap/Name" from this position without leaving the iteration?

rgds,
Gnanendra.
- - - - - - - Appended by Scientific-Atlanta, Inc. - - - - - - - 
This e-mail and any attachments may contain information which is
confidential, proprietary, privileged or otherwise protected by law. The
information is solely intended for the named addressee (or a person
responsible for delivering it to the addressee). If you are not the
intended
recipient of this message, you are not authorized to read, print,
retain,
copy or disseminate this message or any part of it. If you have received
this e-mail in error, please notify the sender immediately by return
e-mail
and delete it from your computer.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list





****************************************************************
Jarkko Moilanen          "Erehtyminen on inhimillista, 
Researcher/ ITCM         mutta todella suuret mokat 
jm60697(_at_)uta(_dot_)fi           vaativat tietokoneen käyttöä."         
www.uta.fi/~jm60697                                           
GSM: +358 50 3766 927                                         
****************************************************************
* ITCM | Information Technology and Crisis Management            
* http://www.itcm.org                                            
****************************************************************

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>