Code example for SAXException

0
      //  System.out.println("fullfuncname " + ns + localVal); 
    } 
    else 
    { 
      msg = "func:function name must have namespace";
      handler.error(msg, new SAXException(msg));
    } 
  } 
   
  /** 
   * Must include; super doesn't suffice! 
   */ 
  protected void appendAndPush( 
          StylesheetHandler handler, ElemTemplateElement elem)
            throws SAXException 
  { 
    //System.out.println("ProcessorFunction appendAndPush()" + elem); 
    super.appendAndPush(handler, elem);
    //System.out.println("originating node " + handler.getOriginatingNode()); 
    elem.setDOMBackPointer(handler.getOriginatingNode());
    handler.getStylesheet().setTemplate((ElemTemplate) elem);