diff --git a/src/main/resources/content/xml/schema/xprocspec.rng b/src/main/resources/content/xml/schema/xprocspec.rng
index a49adef..4327b0e 100644
--- a/src/main/resources/content/xml/schema/xprocspec.rng
+++ b/src/main/resources/content/xml/schema/xprocspec.rng
@@ -50,7 +50,10 @@
-
+
+
+
+
@@ -158,7 +161,10 @@
-
+
+
+
+
@@ -253,6 +259,16 @@
with eachother.
+
+
+ If the `base-uri` attribute is `temp-dir`, then the base URI in the context
+ will be the temporary directory used for the test, instead of the base URI of the xprocspec document.
+ This can be used with for instance `base-uri()` and `resolve-uri('...')`
+
+ temp-dir
+
+
+
@@ -274,6 +290,16 @@
subsequent evaluations of the step does not conflict with eachother.
+
+
+ If the `base-uri` attribute is `temp-dir`, then the base URI in the context
+ will be the temporary directory used for the test, instead of the base URI of the xprocspec document.
+ This can be used with for instance `base-uri()` and `resolve-uri('...')`
+
+ temp-dir
+
+
+
@@ -306,7 +332,10 @@
-
+
+
+
+
diff --git a/src/main/resources/content/xml/xproc/compile/description-to-invocation.xsl b/src/main/resources/content/xml/xproc/compile/description-to-invocation.xsl
index e668768..649b8c9 100644
--- a/src/main/resources/content/xml/xproc/compile/description-to-invocation.xsl
+++ b/src/main/resources/content/xml/xproc/compile/description-to-invocation.xsl
@@ -65,13 +65,15 @@
+
+
+
-
+
-
@@ -98,13 +100,16 @@
+
+
+
+
-
+
-
diff --git a/src/main/resources/content/xml/xproc/preprocess/preprocess.xpl b/src/main/resources/content/xml/xproc/preprocess/preprocess.xpl
index 7914b02..8c78577 100644
--- a/src/main/resources/content/xml/xproc/preprocess/preprocess.xpl
+++ b/src/main/resources/content/xml/xproc/preprocess/preprocess.xpl
@@ -453,7 +453,7 @@
-
+
@@ -710,7 +710,7 @@
-
+
diff --git a/src/main/resources/content/xml/xproc/xprocspec.xpl b/src/main/resources/content/xml/xproc/xprocspec.xpl
index 0446bf9..f2705b5 100644
--- a/src/main/resources/content/xml/xproc/xprocspec.xpl
+++ b/src/main/resources/content/xml/xproc/xprocspec.xpl
@@ -31,7 +31,28 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+