xsl-list
[Top] [All Lists]

RE: Accessing immediate parent node in XSL

2005-03-17 00:46:47
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>
--~--



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