This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: How to find parent's-parent's-sibling-sibling name
- From: Jarkko dot Moilanen at uta dot fi
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 19 Sep 2002 09:27:35 +0300 (EEST)
- Subject: Re: [xsl] How to find parent's-parent's-sibling-sibling name
- References: <6973AC049FFDD41197BB0002A52916C6192957@bninchemex01.barconet.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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.Satish@sciatl.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@uta.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