title: How to insert CDATA into XML text markup exported from Access 2003?
body: <p>I've got an XML export from Access 2003 and I tried to insert CDATA tag on text field (latin...) with XSLT but I'm very bad in XSLT...</p>
  
  <p>Here the XML source :</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
      &lt;dataroot xmlns:od="urn:schemas-microsoft-com:officedata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  xsi:noNamespaceSchemaLocation="MESSAGES%20old.xsd" generated="2012-07-31T13:25:46"&gt;
        &lt;export_x005F_xml_message&gt;
         &lt;libelle&gt;h euismod tincidu &lt;/libelle&gt;
         &lt;price&gt;300&lt;/price&gt;
         &lt;libelle2&gt;h euirci tation ullamc&lt;/libelle2&gt;
      &lt;/export_x005F_xml_message&gt;
      &lt;export_x005F_xml_message&gt;
        &lt;libelle&gt;h euismod tincidunt ut lao&lt;/libelle&gt;
        &lt;price&gt;200&lt;/price&gt;
        &lt;libelle2&gt;h euirci tation ullamcorper&lt;/libelle2&gt;
     &lt;/export_x005F_xml_message&gt;
    &lt;/dataroot&gt;
  </code></pre>
  
  <p>Here my XSLT's beginning... : </p>
  
  <pre><code>    &lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
     &lt;xsl:output method="xml"/&gt;
       &lt;xsl:template match='*[name() = "MESSAGES"]'&gt;
             &lt;xsl:text disable-output-escaping="yes"&gt;
               &amp;lt;![CDATA[
             &lt;/xsl:text&gt;
             &lt;xsl:copy-of select="./node()"/&gt;
             &lt;xsl:text disable-output-escaping="yes"&gt;
               ]]&amp;gt;
              &lt;/xsl:text&gt;
       &lt;/xsl:template&gt;
      &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>I'd like to get something like that :</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
      &lt;dataroot xmlns:od="urn:schemas-microsoft-com:officedata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  xsi:noNamespaceSchemaLocation="MESSAGES%20old.xsd" generated="2012-07-31T13:25:46"&gt;
        &lt;export_x005F_xml_message&gt;
         &lt;libelle&gt;&lt;![CDATA[h euismod tincidu ]]&gt;&lt;/libelle&gt;
         &lt;price&gt;300&lt;/price&gt;
         &lt;libelle2&gt;&lt;![CDATA[h euirci tation ullamc ]]&gt;&lt;/libelle&gt;
      &lt;/export_x005F_xml_message&gt;
      &lt;export_x005F_xml_message&gt;
        &lt;libelle&gt;&lt;![CDATA[h euismod tincidunt ut lao ]]&gt;&lt;/libelle2&gt;
        &lt;price&gt;200&lt;/price&gt;
        &lt;libelle2&gt;&lt;![CDATA[h euirci tation ullamcorper ]]&gt;&lt;/libelle2&gt;
     &lt;/export_x005F_xml_message&gt;
    &lt;/dataroot&gt;
  </code></pre>
  
  <p>Can you help me to create the right XSLT ? 
  This XML is coming from Access 2003 which doesn't provide the CDATA option for text field... I'm sure a generic model could help other developer like me :-)</p>