How to concat a string to xsl:value-of select="…?

前端 未结 6 2332
囚心锁ツ
囚心锁ツ 2020-12-05 03:39

     
     
    
         


        
6条回答
  •  广开言路
    2020-12-05 04:05

    You can use the rather sensibly named xpath function called concat here

    
       
          
       
      
    

    Of course, it doesn't have to be text here, it can be another xpath expression to select an element or attribute. And you can have any number of arguments in the concat expression.

    Do note, you can make use of Attribute Value Templates (represented by the curly braces) here to simplify your expression

    
    

提交回复
热议问题