public void startElement(String namespaceURI,String localName,String qName,Attributes atts) throws org.xml.sax.SAXException {
  throw new StopParseException();
}

public void startElement ( String namespaceURI , String localName , String qName , Attributes atts ) throws org . xml . sax . SAXException { throw new StopParseException ( ) ; }
the spec notes that " the xml - stylesheet processing instruction is allowed only in the prolog of an xml document . " , so , at least for right now , i ' m going to go ahead an throw a transformerexception in order to stop the parse .
