code: public void execute(
            TransformerImpl transformer)
              throws TransformerException
    {
      try
      {
        // Note the content model is:
        // <!ENTITY % instructions "
        // %char-instructions;
        // | xsl:processing-instruction
        // | xsl:comment
        // | xsl:element
        // | xsl:attribute
        // ">
        String data = transformer.transformToString(this);
  
        transformer.getResultTreeHandler().comment(data);
      }
      catch(org.xml.sax.SAXException se)
      {
        throw new TransformerException(se);
      }
    }
docs: Execute the xsl:comment transformation
  
  
  @param transformer non-null reference to the the current transform-time state.
  
  @throws TransformerException