Subject: Re: [xsl] Get the most recent date From: "LEGAULT, PHILLIP plegault@xxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 12 Mar 2024 18:26:36 -0000 |
Thanks Martin, I tried this and first Ibm missing the namespace xs, I added xmlns:xs=http://www.w3.org/2001/XMLSchema Then I get the error message Error on line 1332 of process.xsl: FORG0006: Effective boolean value is not defined for an item other than a boolean, number, string, or URI This is the error I get when not trying to pick one date. XPTY0004: A sequence of more than one item is not allowed as the first argument of format-dateTime() (2023-11-05T00:28:00Z, 2024-01-23T05:46:01Z, ...) From: Martin Honnen martin.honnen@xxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Sent: Tuesday, March 12, 2024 12:10 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [EXTERNAL] Re: [xsl] Get the most recent date On 12/03/2024 17:03, LEGAULT, PHILLIP plegault@xxxxxxxxxx<mailto:plegault@xxxxxxxxxx> wrote: I have an XML file with the following sections with date fields. I need the latest sf:LastModifiedDate field when sf:ActivityCategory_GCC__c = Additional Information That sounds like max(//records[sf:ActivityCategory_GCC__c = 'Additional Information']/sf:LastModifiedDate/xs:dateTime(.)) XSL-List info and archive<http://www.mulberrytech.com/xsl/xsl-list> EasyUnsubscribe<http://lists.mulberrytech.com/unsub/xsl-list/3514465> (by email<>)
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Get the most recent date, Martin Honnen martin | Thread | Re: [xsl] Get the most recent date, Martin Honnen martin |
[xsl] Re: How to declaratively desc, Roger L Costello cos | Date | Re: [xsl] Get the most recent date, Martin Honnen martin |
Month |