I am trying to sorting based on Text - XSLT

前端 未结 3 1592
一个人的身影
一个人的身影 2021-01-23 06:31

I am trying to sorting on text based first text should be upper case then other start with first letter caps or small letter.
Input XML

            


        
3条回答
  •  悲&欢浪女
    2021-01-23 07:15

    Does the following meet your requirements? (Requirements were hard to understand. I assume there is more simple and faster XSLT code to accomplish this task ...)

    It evaluates for the given input to the expected output https://xsltfiddle.liberty-development.net/pNmC4J7

    
    
    
      
    
        
          
            
          
        
    
        
    
        
            
                
            
    
            
                
                    
    
                    
                        
                            
                                
                                    
                                
                            
                        
                    
    
                    
                        
                            
                                
                                
                                    
                                
                            
                            
                                
                                
                                    
                                
                            
                        
                    
                
            
    
            
                
            
       
    
    
    

提交回复
热议问题