public void Write(StringBuilder strBuilder, DocPosition docPos, AncestralNamespaceContextManager anc)
 {
     if (IsInNodeSet)
     {
         strBuilder.Append(Utils.EscapeCData(Data));
     }
 }
 public void WriteHash(IHash hash, DocPosition docPos, AncestralNamespaceContextManager anc)
 {
     if (IsInNodeSet)
     {
         UTF8Encoding utf8    = new UTF8Encoding(false);
         byte[]       rgbData = utf8.GetBytes(Utils.EscapeCData(Data));
         hash.BlockUpdate(rgbData, 0, rgbData.Length);
     }
 }