Registry / serialization / saxon-he

saxon-he

JSON →
library11.1.1javamavenunverified

The XSLT and XQuery Processor, providing high-performance XSLT 3.0, XQuery 3.1, and XPath 3.1 processing.

<dependency> <groupId>net.sf.saxon</groupId> <artifactId>Saxon-HE</artifactId> <version>11.1.1</version> </dependency>
INSTALL
IMPORT
SIG · SAXON-HE
S
saxon-he
serializationjavav11.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Processor
net.sf.saxon.s9api.Processor

Compiles an XSLT stylesheet and transforms an XML input.

import net.sf.saxon.s9api.Processor; import net.sf.saxon.s9api.XsltCompiler; import net.sf.saxon.s9api.XsltExecutable; import net.sf.saxon.s9api.Serializer; import javax.xml.transform.stream.StreamSource; import java.io.StringWriter; public class Quickstart { public static void main(String[] args) throws Exception { Processor processor = new Processor(false); XsltCompiler compiler = processor.newXsltCompiler(); XsltExecutable executable = compiler.compile(new StreamSource("transform.xsl")); Serializer out = processor.newSerializer(new StringWriter()); executable.transform(new StreamSource("input.xml"), out); System.out.println(out.toString()); } }
Debug
Known issues
gotchaSaxon-HE does not support XSLT 3.0 streaming or schema-aware processing; those require Saxon-PE or -EE.
fix
If you need streaming or schema-aware features, upgrade to Saxon-PE or -EE.
affects: *
Upgrade
Version history
11.1.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
saxon-he — mvn dependency:get saxon-he · libregistry