display a text if element does not exist2004-03-25 00:36:56
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/
|
|
||||||||||||||||