This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

XSL:if condition shows runtime error................


I retrieve XML data from the database using COM
objects. I have used XSL to display the data in a
tabular form. The null values in the date column is
displayed as 12:00:00 AM. I used the XSL: if condition
to change the display but it says

"Run time error" - The error is

Expected token 'eof' found '='
date --> = <-- '12:00:00 AM'


My code is


<TD>	<xsl:if test="dateofbirth='12:00:00AM'">

		<xsl:value-of select='' "/>

	</xsl:if>

	<xsl:value-of select="dateofbirth"/>

</TD>


I basically want to display nothing in the place where
12:00:00AM is displayed in the table. Can someone pls,
help me. As I have been spending so much time on this.
Thanks in advance.



__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]