Re: [xsl] select attribute of xsl:variable

Subject: Re: [xsl] select attribute of xsl:variable
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 01 Sep 2010 13:33:55 +0100
On 01/09/2010 13:28, pankaj.c@xxxxxxxxxxxxxxxxxx wrote:

> <xsl:template match="display/textbox/textbox-head/title">

Will this will have affect*without display*  as I am matching the @role of
grandparent*textbox*. I do not see any necessity to include display
element.

you match pattern started with display so if there is no display element in the document the template will not be used.


David


________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________


Current Thread