Skip to content

Saxonica/EXPath-Task-XSLT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

EXPath-Task-XSLT

Implementation of EXPath Tasks in pure portable XSLT 3.0.

This is a reference implementation for our paper Task Abstraction for XPath Derived Languages. Lockett and Retter, 2019 which was presented at XML Prague 2019.

It is worth explicitly restating that this implementation does not provide asynchronous processing, instead all asynchrnous functions will be executed synchronously.

Using

Download the task.xsl file for use with your favourite XPDL processor.

From your main XSLT stylesheet simply import the module like so, adjusting the value of the href attribute as necessary:

<xsl:import href="task.xsl"/>

And add the required namespace declarations:

xmlns:task="http://expath.org/ns/task"
xmlns:adt="http://expath.org/ns/task/adt"

Examples

See the task-examples.xsl file for various examples. These can be run independently by running the stylesheet with different initial templates (exA1, exA1.1, and so on) for the different tests. For example supply -xsl:task-examples.xsl -it:exA1 to run Example 1.

About

XSLT 3.0 Implementation of EXPath Tasks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages