Re: [xsl] equivalent for 'while'

Subject: Re: [xsl] equivalent for 'while'
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 16 Feb 2005 19:50:08 GMT
> I  want to check whether 'Pain' exists in XML doc 2 and whether it has
> a child (or grandchild) named  'Headache' as well.

<xsl:if test="document('doc2.xml')//Pain[Headache or */Headache]">
 ....

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread