Re: [xsl] How to check parent node is available in XSL.

Subject: Re: [xsl] How to check parent node is available in XSL.
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 26 Aug 2005 10:01:05 +0100
>From the label, i want to check whether it got its
> parent node.

element nodes always have a parent in XPath1. (not so in XPath2).

test="parent::*" will test if the parent is an element.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread