concat, quotation mark and apostrophe combination problems

前端 未结 3 1163
后悔当初
后悔当初 2021-01-19 10:11

I tried different ways and also looked around but can\'t get this running. I need to concat the following:

\"concat( 
    \'this is; \\\"a sample\',
    //XM         


        
3条回答
  •  感动是毒
    2021-01-19 10:23

    No variable is necessary:

    Here is an example how to produce the wanted output in two ways:

    
     
    
     
      this is "a sample XML_NODE_VALUE"; "using an apostrophe ' in text"
      =============
      
     
    
    

    When this transformation is applied on any XML document (not used), the wanted output is produced:

    this is "a sample XML_NODE_VALUE"; "using an apostrophe ' in text"
    =============
    this is "a sample XML_NODE_VALUE"; "using an apostrophe ' in text"
    

提交回复
热议问题