How to implement “if else if else” condition in XSLT

后端 未结 7 2029
心在旅途
心在旅途 2021-01-07 18:36

Is it possible to implement \"if else, if else\" in xsl? for example I have data:


    
        MAR111
          


        
7条回答
  •  温柔的废话
    2021-01-07 19:01

    The best way is to use separate templates.

    
           
    
    
    
           
    
    
    
           
    
    

    Even less lines and this is more maintainable.

提交回复
热议问题