Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 18th, 2011, 05:41 PM
Registered User
 
Join Date: Jul 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Do an 'or' on selecting a nodeset on SharePoint List

Trying to create a report from a SharePoint list where I want a row to be included in my nodeset IF field 'a' is null/blank and a date field 'b' is less than a 'from' date entered by the user OR date field 'b' is between a 'from' and a 'to' date entered by the user (as field 'a' could be non-null, but still want it included because of date). Does that make sense?

Is it possible to do this in a dsqueryresponse/rows/row?

The report would then have a column where field 'a' is null and I could count the row if the date field 'b' is less then the 'from' date.

New to xslt so struggling on some of this.
 
Old April 26th, 2011, 04:49 PM
Friend of Wrox
 
Join Date: Jul 2006
Posts: 430
Thanks: 28
Thanked 5 Times in 5 Posts
Send a message via Yahoo to bonekrusher
Default

Yes, this is possible. You should post a small sample input xml and the relevant xslt. If you need help getting started, post some xml and I am sure someone will help with the xslt.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Distribution list in sharepoint prashantimurari SharePoint Admin 1 July 15th, 2010 10:56 AM
Selecting itme from drop down list in script hericles ASP.NET 1.0 and 1.1 Basics 7 August 21st, 2007 01:21 PM
how to automate selecting all items from list satish_k Pro VB.NET 2002/2003 0 October 3rd, 2006 06:23 AM
selecting elements from comma separated list rjonk XSLT 4 September 29th, 2006 08:46 AM
problem in selecting the item from drop down list swati_joshi ASP.NET 1.0 and 1.1 Basics 1 March 27th, 2006 01:24 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.