Cannot get xslt to output an (&) even after escaping the character

后端 未结 13 1787
轮回少年
轮回少年 2020-12-17 10:13

I am trying to create a query string of variable assignments separated by the & symbol (ex: \"var1=x&var2=y&...\"). I plan to pass this

13条回答
  •  忘掉有多难
    2020-12-17 10:35

    Just replace & with

    
    

    in the data. EX: Data XML

    Empire <![CDATA[&]]> Burlesque
    

    XSLT tag:

    
    

    Output: Empire & Burlesque

提交回复
热议问题