[xsl] display a text if element does not exist

Subject: [xsl] display a text if element does not exist
From: "Paul S" <b0nn19@xxxxxxxxxxx>
Date: Thu, 25 Mar 2004 07:36:56 +0000
Hi,

I have a XML like this

<students>
  <student>
     <name>John</name>
     <ID>1342</ID>
     <course>MATH</course>
  </student>

 <student>
     <name>Marry</name>
     <ID>1526</ID>
  </student>
</students>

And I want to display a text if course tag does not exists. How can I do this?

Thanks.

_________________________________________________________________
Find a broadband plan that fits. Great local deals on high-speed Internet access. https://broadband.msn.com/?pgmarket=en-us/go/onm00200360ave/direct/01/


Current Thread