RE: [xsl] Accessing immediate parent node in XSL

Subject: RE: [xsl] Accessing immediate parent node in XSL
From: <Jarno.Elovirta@xxxxxxxxx>
Date: Thu, 17 Mar 2005 09:46:47 +0200
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

Current Thread