code: public int rtf(XPathContext support)
    {
  
      int result = rtf();
  
      if (DTM.NULL == result)
      {
        DTM frag = support.createDocumentFragment();
  
        // %OPT%
        frag.appendTextChild(str());
  
        result = frag.getDocument();
      }
  
      return result;
    }
docs: Cast result object to a result tree fragment.
  
  @param support XPath context to use for the conversion
  
  @return the objec as a result tree fragment.