Re: [xsl] test if null

Subject: Re: [xsl] test if null
From: -= jay =- <deepsweech@xxxxxxxxx>
Date: Tue, 28 Jun 2005 17:29:20 +0800
ok michael here is my XML
<?xml version="1.0" encoding="utf-8" ?>
- <RetrieveNewsFlashDetailResult_1>
- <RETRIEVENEWSFLASHDETAIL itmns="1">
  <NEWSFLASHID>201</NEWSFLASHID>
  <NEWSFLASHTITLE>Check out the latest book review featured in The
Sunday Times</NEWSFLASHTITLE>
  <NEWSFLASHADESC />
  <NEWSFLASHAURL>Announcement/TSTReviewShow.asp</NEWSFLASHAURL>
  </RETRIEVENEWSFLASHDETAIL>
- <RETRIEVENEWSFLASHDETAIL itmns="2">
  <NEWSFLASHID>215</NEWSFLASHID>
  <NEWSFLASHTITLE>Libraries will be opened on Monday, 23 May
2005</NEWSFLASHTITLE>
  <NEWSFLASHADESC>We are please to announce that the following
libraries will be opened on Monday, 23 May 2005 <br> <br> Regional and
Standalone Community Libraries - 10am - 9am <br> Shopping Mall
Community Libraries - 11am - 9pm <br> Community Children's Libraries -
Closed. <br></NEWSFLASHADESC>
  <NEWSFLASHAURL />
  </RETRIEVENEWSFLASHDETAIL>
- <STATUS>
  <STATUSRETURN>0000</STATUSRETURN>
  </STATUS>
  </RetrieveNewsFlashDetailResult_1>

notice the <NEWSFLASHAURL> node?
the other has a value :
<NEWSFLASHAURL>Announcement/TSTReviewShow.asp</NEWSFLASHAURL>

and the other has none :
<NEWSFLASHAURL />

how would i check this one?

thnks!

Current Thread