code: public int transformToGlobalRTF(ElemTemplateElement templateParent)
            throws TransformerException
    {
      // Retrieve a DTM to contain the RTF. At this writing, this may be a
      // multi-document DTM (SAX2RTFDTM).
      DTM dtmFrag = m_xcontext.getGlobalRTFDTM();
      return transformToRTF(templateParent,dtmFrag);
    }
docs: Given a stylesheet element, create a result tree fragment from it's
  contents. The fragment will also use the shared DTM system, but will
  obtain its space from the global variable pool rather than the dynamic
  variable stack. This allows late binding of XUnresolvedVariables without
  the risk that their content will be discarded when the variable stack
  is popped.
  
  @param templateParent The template element that holds the fragment.
  @return the NodeHandle for the root node of the resulting RTF.
  
  @throws TransformerException
  @xsl.usage advanced