Re: [xsl] Help! How do I find elements through text contents XSLT 1.0

Subject: Re: [xsl] Help! How do I find elements through text contents XSLT 1.0
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 24 Jan 2008 12:50:33 GMT
"contains(tr[1]/th[1],'Keyword')">
"contains(tr[1]/td[1],'Keyword')">


since a tr can/should only have td or th and you don't mond which it is,
you can probably just use 8
		

	<xsl:when test="contains(tr[1]/*[1],'Keyword')">

to do both cases at once.

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