Kotlin multiplatform XPath, XQuery, and XSLT library
The xqt-platform
library is an open-source implementation of the XPath,
XQuery, and XSLT languages. The goal of this project is to provide an API
capable of supporting code analysis and IDE tools.
- Features
- Adding the Library as a Maven Dependency
- Supported Kotlin/Native Targets
- Documentation
- License
The XQT platform provides the following libraries that implement support for XML related languages:
- xqt-platform-xpath – Support for the XML Path (XPath) language.
- xqt-platform-xslt – Support for the XSL Transformations (XSLT) language.
- xqt-platform-ft – Support for the XPath and XQuery Full Text extensions.
- xqt-platform-marklogic – Support for the MarkLogic XPath and XQuery vendor extensions.
- xqt-platform-saxon – Support for the saxon XPath and XQuery vendor extensions.
The XQT platform provides the following libraries that provide a common framework for implementing the languages:
- xqt-platform-xml – A common set of XML types and lexer primitives.
The xqt-platform
binaries are available on
Maven Central.
Maven:
<dependency>
<groupId>io.github.rhdunn</groupId>
<artifactId>[LIBRARY]</artifactId>
<version>0.2.0</version>
</dependency>
Gradle (Groovy DSL):
implementation 'io.github.rhdunn:[LIBRARY]:0.2.0'
Gradle (Kotlin DSL):
implementation("io.github.rhdunn:[LIBRARY]:0.2.0")
Here, [LIBRARY]
is one of the modules listed in the Features
section.
Target [1] | Family | Tier [1] | Status |
---|---|---|---|
android_arm32 |
Android | 3 | Build Only [3] |
android_arm64 |
Android | 3 | Build Only [3] |
android_x64 |
Android | 3 | Build Only [3] |
android_x86 |
Android | 3 | Build Only [3] |
ios_arm32 |
Mac iOS | Deprecated [2] | Build Only [3] |
ios_arm64 |
Mac iOS | 2 | Build Only [3] |
ios_simulator_arm64 |
Mac iOS | 1 | Build and Test |
ios_x64 |
Mac iOS | 1 | Build and Test |
linux_arm32_hfp |
Linux | Deprecated [2] | Build Only [3] |
linux_arm64 |
Linux | 2 | Build Only [3] |
linux_mips32 |
Linux | Deprecated [2] | Build Only [3] |
linux_mipsel32 |
Linux | Deprecated [2] | Build Only [3] |
linux_x64 |
Linux | 1 (Host) | Build and Test |
macos_arm64 |
Mac OSX | 1 (Host) | Build and Test |
macos_x64 |
Mac OSX | 1 (Host) | Build and Test |
mingw_x64 |
MinGW | 3 (Host) | Build and Test |
mingw_x86 |
MinGW | Deprecated [2] | Build Only [3] |
tvos_arm64 |
Mac TV OS | 2 | Build Only [3] |
tvos_simulator_arm64 |
Mac TV OS | 2 | Build and Test |
tvos_x64 |
Mac TV OS | 2 | Build and Test |
wasm32 |
WASM | Deprecated [2] | Build Only [3] |
watchos_arm32 |
Mac Watch OS | 2 | Build Only [3] |
watchos_arm64 |
Mac Watch OS | 2 | Build Only [3] |
watchos_simulator_arm64 |
Mac Watch OS | 2 | Build and Test |
watchos_x64 |
Mac Watch OS | 2 | Build Only [4] |
watchos_x86 |
Mac Watch OS | Deprecated [2] | Build and Test |
[1] See https://kotlinlang.org/docs/native-target-support.html for the list of
Kotlin/Native targets. The target
column specifies the name used in the
KonanTarget
instances. The tier
column is the level of support provided by
JetBrains for the Kotlin/Native target.
[2] The deprecated targets are scheduled to be removed in Kotlin 1.9.20.
[3] The tests for these targets are not supported by Kotlin/Native. A gradle
nativeTest
task is not available for this configuration.
[4] The tests fail with Kotlin 1.7.20. There is a fix for this in the Kotlin 1.8.0 release. See KT-54814.
Copyright (C) 2022-2023 Reece H. Dunn
SPDX-License-Identifier:
Apache-2.0