[xsl] TestPresence

Subject: [xsl] TestPresence
From: "William Rutford" <vsd18@xxxxxxxxxxxxxx>
Date: 27 Feb 2002 15:10:26 -0000
hi
i have an xml file
which is looks like below

<Theatre>
<actor type="performer" listdefinition="1">
<actorrank rank="1"/>
</actor>
</Theatre>

I have the requirement to check in xsl if there is any actor element at all in the Theatre node.. If there is any then there are some processing instructions to be applied.

is there a way in XPATH to check if the <Theatre> has <actor> element or not??

please help
w_r


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread