XML-XSLT : How to compare two dates which are in String

前端 未结 2 1405
清歌不尽
清歌不尽 2021-01-27 19:02

I know this question might get repeated and also I have went through similar articles and question but I have not found the exact solution.

Now the question I am using <

2条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-27 19:22

    Given this input XML:

    
    
        29.05.2015 15:25:06
        27.07.2015 14:28:02
    
    

    and this stylesheet:

    
    
    
        
    
        
        
    
    
        
            
                
                    OK
                
                
                    not OK
                
            
        
    
    
    

    it produces:

    OK
    

提交回复
热议问题