xsl-list
[Top] [All Lists]

Re: test if null

2005-06-28 02:29:20
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!

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>