public int transformToRTF(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.getRTFDTM();
    return transformToRTF(templateParent,dtmFrag);
  }
public int transformToRTF ( ElemTemplateElement templateParent ) throws TransformerException { DTM dtmFrag = m_xcontext . getRTFDTM ( ) ; return transformToRTF ( templateParent , dtmFrag ) ; }
Given a stylesheet element, create a result tree fragment from it's
contents. The fragment will be built within the shared RTF DTM system
used as a variable stack.
@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