Subject: RE: [xsl] need help with boolean comparison in XSL From: "Cross, Neal - Development Controller" <ncross@xxxxxxxxx> Date: Thu, 12 Dec 2002 17:25:27 -0000 |
Have you studied the placement of square brackets in the statement ie: <xsl:when test="a:propstat/a:prop[office:EndDate] = a:propstat/a:prop[office:StartDate]"> I may be wrong, I usualy am :-) -----Original Message----- From: sal rosales [mailto:dhx10000@xxxxxxxxx] Sent: 12 December 2002 16:46 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] need help with boolean comparison in XSL Hello, I have this comparison on my XSL page currently: <xsl:when test="a:propstat/a:prop[office:EndDate != '']"> It is checking to see if the EndDate property exists. My xml page is generated from properties (which are sort of the equivalent of fields from a database) that are pulled from a web storage system from Microsoft's sharepoint portal server. I need to check if an EndDate AND StartDate are equal to each other but I'm not writing the correct syntax. I tried this, and other iterations, but I receive an error every time: <xsl:when test="a:propstat/a:prop[office:EndDate = a:propstat/a:prop[office:StartDate]]"> Can you please help with this? Thank you Sal __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] need help with boolean co, sal rosales | Thread | [xsl] How to create hyperlinks usin, Stephanie M. Watson |
[xsl] need help with boolean compar, sal rosales | Date | Re: [xsl] Applying xsl to a resultt, Mike Brown |
Month |