You can’t. The XML data type does not preserve CDATA sections.
Have a look here for a discussion about the subject.
http://social.msdn.microsoft.com/forums/en-US/sqlxml/thread/e22efff3-192e-468e-b173-ced52ada857f/
More Related Contents:
- What does in XML mean?
- Is there a way to escape a CDATA end token in xml?
- Html inside XML. Should I use CDATA or encode the HTML [closed]
- Add CDATA to an xml file
- How to query xml column in tsql
- Using CDATA inside another CDATA
- Does any xml-based standard exist to define HTTP requests and responses as xml files?
- How to fix error: The markup in the document following the root element must be well-formed
- Does a valid XML file require an XML declaration?
- Any tools to generate an XSD schema from an XML instance document? [closed]
- XPath select all elements between two specific elements
- javax.xml.bind.JAXBException Implementation of JAXB-API has not been found on module path or classpath
- Extraction of data from a simple XML file
- How to use XPath contains() here?
- Is writing self closing tags for elements not traditionally empty bad practice?
- How to properly assemble a valid xlsx file from its internal sub-components?
- How to restrict the value of an XML element using xsi:type in XSD?
- XML Schema (XSD) validation tool? [closed]
- processContents strict vs lax vs skip for xsd:any
- How to declare XPath namespaces in xmlstarlet?
- R: convert XML data to data frame
- What is the XPath to select a range of nodes?
- Incrementing and checking the counter variable in XSLT
- Date operations on xsl 1.0
- How to parse xml in Angular 2
- How to remove namespaces from XML using XSLT
- How to link up XML file with XSLT file?
- VBA pull XML data to Excel
- Format XML code in Eclipse
- How to add a newline (line break) in an XML file?