public void Write(StringBuilder strBuilder, DocPosition docPos, AncestralNamespaceContextManager anc)
 {
     if (GetIsInNodeSet() && docPos == DocPosition.InRootElement)
     {
         strBuilder.Append(ParserUtils.EscapeWhitespaceData(Value));
     }
 }
 public void WriteHash(IHash hash, DocPosition docPos, AncestralNamespaceContextManager anc)
 {
     if (GetIsInNodeSet() && docPos == DocPosition.InRootElement)
     {
         UTF8Encoding utf8    = new UTF8Encoding(false);
         byte[]       rgbData = utf8.GetBytes(ParserUtils.EscapeWhitespaceData(Value));
         hash.BlockUpdate(rgbData, 0, rgbData.Length);
     }
 }