xsl-list
[Top] [All Lists]

RE: Parent

2004-09-09 04:36:04

 

Try 
<xsl:if test = "parent::Test">
Vasu

-----Original Message-----
From: Sven Waibel [mailto:sven(_dot_)waibel(_at_)imbus(_dot_)de] 
Sent: 08 September 2004 13:53
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Parent

Hi,

ich have a xml file:

<Test>
  <Fall>
  . ..
and now i'm at node Fall and i wanna test if Fall is the child of Test.
I tried <xsl:if test=".. = Test">, but i doesn't work.

How can i achieve it?

Thanks in advance
Sven

--+------------------------------------------------------------------
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>
--+--


--+------------------------------------------------------------------
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>
--+--



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