[Home] [By Thread] [By Date] [Recent Entries]
On 31/10/2011 12:58, Mark wrote:
The following line: <xsl:attribute name="title" select="concat(if (ancestor::Set/@domain eq 'cr') then ........ If the warning comes from that line, it comes from the bit that you have written as ... so it is hard to give explicit help. If you go <xsl:template match="@foo"> .... <xsl:value-of select="@bar"/> then you will get that warning as a foo attribute can not have a bar attribute. What you usually mean is the bar attribute of the element of which the current node is an attribute so
where the ../ gets you up off the foo attribute and on to the containing element, so that you can select the other attribute. 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. ________________________________________________________________________
|

Cart



