[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

need help with boolean comparison in XSL

Subject: need help with boolean comparison in XSL
From: sal rosales <dhx10000@xxxxxxxxx>
Date: Thu, 12 Dec 2002 08:45:30 -0800 (PST)
 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.