How to implement if-else statement in XSLT?

后端 未结 5 1288
一整个雨季
一整个雨季 2020-11-28 05:28

I am trying to implement an if -else statement in XSLT but my code just doesn\'t parse. Does anyone have any ideas?

  

        
5条回答
  •  盖世英雄少女心
    2020-11-28 06:03

    Originally from this blog post. We can achieve if else by using below code

    
        
    
        
        
    
        
    
    

    So here is what I did

    System

    File Name File Size Date Time AM/PM

                    

    My Output

    enter image description here

提交回复
热议问题