code: public void compose(StylesheetRoot sroot) throws TransformerException
    {
      super.compose(sroot);
      
      StylesheetRoot.ComposeState cstate = sroot.getComposeState();
      m_selectExpression.fixupVariables(cstate.getVariableNames(), cstate.getGlobalsSize());
    }
docs: This function is called after everything else has been
  recomposed, and allows the template to set remaining
  values that may be based on some other property that
  depends on recomposition.