[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: 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
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member