Re: [xsl] Testing Text

Subject: Re: [xsl] Testing Text
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 8 Jan 2009 11:19:29 GMT
> I got a solution for this with the expression contains(text()[1],

but that says only test the first text node child of any element so if
you have

<x>abc <b>...</b> xyz</x>

then it will look in abc for an @ but not in xyz.

Correct code has already been posted in this thread.


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