title: XSLT Get string length of CDATA section
body: <p>I am looking for Some hints, Get the string length of Cdata element</p>
  
  <pre><code>&lt;root&gt;
  &lt;description&gt;&lt;![CDATA[This handbook covers the major topics &lt;b&gt;in&lt;/b&gt; Spanish, but is by no means complete.]]&gt;&lt;/description&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p>What I have tried so for, I am using <strong>XSLT 1.0</strong></p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink"&gt;
  &lt;xsl:variable name="Values"&gt;
  &lt;xsl:value-of select="root/description"  disable-output-escaping="yes"/&gt;
  &lt;/xsl:variable&gt;
  &lt;xsl:value-of select="string-length($Values)"/&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>Total String length is <strong>85</strong> it includes <code>&lt;b&gt;&lt;/b&gt;</code>, But I need 79 except <code>&lt;b&gt;&lt;/b&gt;</code>.</p>
  
  <p>Please let me have some ideas.</p>