[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: display a text if element does not exist
Hi, > <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? <xsl:if test="not(course)">a text</xsl:if> when the current node is a student element. Cheers, Jarno - Madam Zu: August 2003 Part 1
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|