Intel® SOA Expressway XSLT 2.0 Processor

bug with comparison/minimum of xs:dateTime values

I have found a problem with the comparison and minimum of xs:dateTime values.

Here are minimal test documents, first the XML input which has a list of 'item' elements with xs:dateTime values:

  2009-01-01T12:00:00Z
  2009-02-01T12:00:00Z
  2010-10-01T12:00:00Z
  2010-12-01T12:00:00Z

  

Now in the stylesheet I want to find the minimum dateTime item element of those item elements which are greater than the current dateTime:

  
  
  
  
  
  
  

  
    
      
      
        
      
    
  

Problem with stylesheet performing grouping and outputting text

I have the following XML input document:

    1
    2
    3
    4
    
        5
        6
    
    
        7
        8
    

The task is to flatten the data in descendants of the 'data' element to a plain text file so that each value of a descendant element of a certain element name is combined with each value of the elements of a different name.

To solve that I wrote the following stylesheet that first groups the data with for-each-group and then processes those groups with a recursive named template:

Páginas

Assine o Intel® SOA Expressway XSLT 2.0 Processor