@Override
    public void startElement(String name, String nsPrefix, String nsURI, String systemID, int lineNr) {
        if (("stylesheet".equals(name) || "transform".equals(name)) && XsltSupport.XSLT_NS.equals(nsURI)) {
            myState = State.POSSIBLY;
        } else {
            myState = State.POSSIBLY_SIMPLIFIED_SYNTAX;
        }
    }
@Override
    public void startElement(String name, String nsPrefix, String nsURI, String systemID, int lineNr)