How to access variable in CDATA from XSLT?

后端 未结 3 953
再見小時候
再見小時候 2021-01-19 10:23

I am using XSLT Transformation and need to put some data in CDATA section and that vale is present in a variable.

Query: How to access variable in CDATA ? Sample Giv

3条回答
  •  孤街浪徒
    2021-01-19 10:34

    If you want to include CDATA sections in your output, you should use the cdata-section-elements atribute of xsl:output. This is a list of element names. Any such elements will have their text content wrapped in CDATA.

    
    
    
        
                                                            
提交回复
热议问题