RE: accessing parent element in if clause
Hi, > <xsl:if test="parent::node()=definition"> The unabbreviated expression for the above is parent::node() = child::definition i.e. is there a child "definition" element whose string value is the same as the parent's string value. You want parent::definition Cheers, Jarno
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format