check condition in xslt

前端 未结 2 1074
醉酒成梦
醉酒成梦 2021-01-23 14:51

Below is the input XML (Little Big) sorry for the bigger input XML and as well as output xml



   
     chapter unit         


        
2条回答
  •  再見小時候
    2021-01-23 15:28

    If you just want to remove the "~", use translate(xxx, '~', '')

    Beyond that, I'm afraid you're not making your requirements clear. For example, I don't understand this clause:

    if there is no value in by default it has to displayed unit 10

提交回复
热议问题