code: public void endCompose(StylesheetRoot sroot) throws TransformerException
    {
      StylesheetRoot.ComposeState cstate = sroot.getComposeState();
      cstate.popStackMark();
    }
docs: This after the template's children have been composed.