xsl-list
[Top] [All Lists]

how check if the node exit and display content of it

2005-03-17 15:52:09

i create xml files .
the node "Group" could has 
child:
<Group>
<undergroups>
<Duration>1:9</Duration>
<description>Waiting for data</description>
</undergroups>
</Group>
or could be without child:
<Group>
</Group>
How could i check in my xsl file if this node 
has some child (f.example <Duration>
or <description>)
after that i will to display the 
Result(f.example Waiting for data) in browser
i tied it with xsl:if test and xsl:variable
but could'nt use it correctly!


thanks
henry






        

        
                
___________________________________________________________ 
Gesendet von Yahoo! Mail - Jetzt mit 250MB Speicher kostenlos - Hier anmelden: 
http://mail.yahoo.de

--~------------------------------------------------------------------
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>