class Saxon < Formula
desc "XSLT and XQuery processor"
homepage "https://saxon.sourceforge.io"
url "https://downloads.sourceforge.net/project/saxon/Saxon-HE/9.8/SaxonHE9-8-0-3J.zip"
version "9.8.0.3"
sha256 "31aa7008cd21a2ff53024dda7643036414e09267148d67ab5efbf6a18a492f9d"
bottle :unneeded
def install
libexec.install Dir["*.jar", "doc", "notices"]
bin.write_jar_script libexec/"saxon9he.jar", "saxon"
end
test do
(testpath/"test.xml").write <<-XML.undent
It works!
HTML end end