XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old May 26th, 2003, 02:54 AM
lakshman lakshman is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 4 lakshman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
xsl:if

Hi All,

I am new to this technology, so please bear with my questions

How do I use <xsl:if ...... > to test whether a node has any text and also whether the node exists in the first palce.

ie. <PEOPLE>
<PERSON>
<FNAME>abcd</FNAME>
<SNAME></SNAME>
<ADDR1 />
<ADDR2>asdasda</ADDR2>
</PERSON>
<PEOPLE>
How do I detect that SNAME is empty, ADDR1 is EMPTY and CITY does not exist.

Could you please direct me to good site/book to use as a reference guide.

Thanks in advance

Reply With Quote
  #2  
Old May 26th, 2003, 08:26 PM
lakshman lakshman is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 4 lakshman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thank you very much for your help.

It felt like I was at the bottom of a dark deep dingy pit and the hand of god (echolalia) came and lifted me up and showed me the light of day.

Thanks again.

Could you be kind enough to direct me to a v.good reference site so that I can at least make an attempt to be self sufficient and even help others.

Reply With Quote
  #3  
Old May 26th, 2003, 10:00 PM
lakshman lakshman is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 4 lakshman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
You have done it again.

Guess what, I WAS using MSXML SDK.

Thanks again for showing me the path of righteous.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > xsl:if


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway