xsl-list
[Top] [All Lists]

RE: Accessing immediate parent node in XSL

2005-03-17 01:48:07
Hello,

Thanks a lot. Its working perfectly.

Regards,
Arul
--- Jarno(_dot_)Elovirta(_at_)nokia(_dot_)com wrote:
Hi,

The above template access Box with a
name="rowlist"
from here i want to access immediate parent node
i.e
widht and height of  applicationframe Box.

The parent axis <http://www.w3.org/TR/xpath#axes>

  parent::Box/attribute::widht
  parent::Box/attribute::height

or using the abbreviated syntax

  ../@widht
  ../@height

Cheers,

Jarno


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



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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>