SysTutorials Forums QA How to escape the XML CData section ending sequence `]]>`?

How to escape the XML CData section ending sequence ]]>? The ]]> sequence itself may be part of the content in a CData section.

One solution is to split the ]]> token into 2 CData sections.

<![CDATA[to split the ]]]]><![CDATA[> token ]]> 
  • This reply was modified 3 weeks, 4 days ago by  Eric Z Ma.
  • This reply was modified 3 weeks, 4 days ago by  Eric Z Ma.
  • This reply was modified 3 weeks, 4 days ago by  Admins.
Reply To: How to escape the XML CData section ending sequence `]]>`?
Your information:





<a href="" title="" rel="" target=""> <blockquote cite=""> <code> <pre> <em> <strong> <del datetime=""> <ul> <ol start=""> <li> <img src="" border="" alt="" height="" width="">

Please share if you like this post: