code: public int rtf(XPathContext support)
    {
  
      DTM frag = support.createDocumentFragment();
  
      frag.appendTextChild(str());
  
      return frag.getDocument();
    }
docs: Cast result object to a result tree fragment.
  
  @param support Xpath context to use for the conversion
  
  @return A document fragment with this string as a child node