code: @Override
      public Value atomize() throws XPathException {
          Value value = null;
  
          switch (nodeKind) {
          case COMMENT:
          case PROCESSING:
              // The content as an instance of the xs:string data type.
              value = new StringValue(getStringValueCS());
              break;
          default:
              // The content as an instance of the xdt:untypedAtomic data type.
              value = new UntypedAtomicValue(getStringValueCS());
          }
  
          return value;
      }
docs: {@inheritDoc}