diff --git a/distribution/seed/assembly.xml b/distribution/seed/assembly.xml
index 47f254f..983b6f3 100644
--- a/distribution/seed/assembly.xml
+++ b/distribution/seed/assembly.xml
@@ -38,6 +38,13 @@
wiki/**
+
+ ${project.basedir}
+ /${project.artifactId}
+
+ distribution/seed/id.xsl
+
+
${project.basedir}
/${project.artifactId}
diff --git a/distribution/seed/id.xsl b/distribution/seed/id.xsl
new file mode 100644
index 0000000..d86b937
--- /dev/null
+++ b/distribution/seed/id.xsl
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pom.xml b/pom.xml
index 2ce7ed5..f24b4d6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -538,6 +538,83 @@
+
+
+
+ ${project.basedir}
+
+
+ distribution/seed/id.xsl
+
+
+
+ saxon-config-uri
+ ${project.basedir}/saxon.xml
+
+
+ id-prefix
+ ${project.artifactId}
+
+
+ media-type
+ application/tei+xml
+
+
+
+ type
+ SeleneSelectorMapper
+
+
+ ${seed-config-xsl.url}
+
+
+ .chain.json
+
+
+
+
+
+ ${project.basedir}
+
+ distribution/seed/id.xsl
+
+
+
+ document-config-uri
+ ${seed-json-config.dir}/xsl/document.seed.json
+
+
+ chained-config-uri
+ ${seed-json-config.dir}/distribution/seed/id.chain.json
+
+
+ media-type-package
+ https://scdh.github.io/dts-transformations/xsl/id.xsl
+
+
+ media-type-package-version
+ 1.0.0
+
+
+ media-type-component
+ mode
+
+
+ media-type-processor
+ tei
+
+
+ ${seed-chain-xsl.url}
+
+
+ .seed.json
+
+
+
+
${project.basedir}
@@ -547,7 +624,7 @@
json-files-csv
- file:${project.build.directory}/generated-resources/xml/xslt/pom.xsl.json,${project.basedir}/distribution/seed/collection.seed.json
+ file:${project.build.directory}/generated-resources/xml/xslt/pom.xsl.json,${project.basedir}/distribution/seed/collection.seed.json,${project.build.directory}/generated-resources/xml/xslt/distribution/seed/id.seed.json
${seed-merge-xsl.url}
@@ -558,6 +635,7 @@
+
${project.basedir}
@@ -633,7 +711,7 @@
json-files-csv
- file:${project.build.directory}/generated-resources/xml/xslt/pom.xsl.json,${project.basedir}/distribution/seed/collection.seed.json,file:${project.build.directory}/generated-resources/xml/xslt/test/media-type/tei2txt.seed.json
+ file:${project.build.directory}/generated-resources/xml/xslt/pom.xsl.json,${project.basedir}/distribution/seed/collection.seed.json,file:${project.build.directory}/generated-resources/xml/xslt/test/media-type/tei2txt.seed.json,file:${project.build.directory}/generated-resources/xml/xslt/distribution/seed/id.seed.json
${seed-merge-xsl.url}
diff --git a/test/post-proc-apply.xsl b/test/post-proc-apply.xsl
index 6f8dd58..58677b9 100644
--- a/test/post-proc-apply.xsl
+++ b/test/post-proc-apply.xsl
@@ -1,4 +1,22 @@
-
-
-
+
+
+
+
-
+
+
+
+
+
diff --git a/test/post-proc-call.xspec b/test/post-proc-call.xspec
index 90d46a5..1178fd5 100644
--- a/test/post-proc-call.xspec
+++ b/test/post-proc-call.xspec
@@ -15,9 +15,11 @@
-
-
-
+
+
+
+
-
+
+
+
+
+
diff --git a/test/post-proc-fun.xspec b/test/post-proc-fun.xspec
index 9cd0647..40dafb2 100644
--- a/test/post-proc-fun.xspec
+++ b/test/post-proc-fun.xspec
@@ -12,14 +12,16 @@
-
+
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
@@ -144,6 +141,10 @@ no matter what the $mediaType parameter is set to.
+
+
+
+
@@ -151,6 +152,10 @@ no matter what the $mediaType parameter is set to.
+
+
+
+
@@ -165,24 +170,36 @@ no matter what the $mediaType parameter is set to.
-
+
+
+
+
+
-
+
+
+
+
+
-
+
+
+
+
+
@@ -194,17 +211,17 @@ no matter what the $mediaType parameter is set to.
400
+ as="function (node()*, xs:string?, xs:string?, xs:string?, xs:string?, xs:string?, xs:string?, document-node()) as node()*"
+ select="replace($media-type-processor, '#[0-9]+$', '') => xs:QName() => function-lookup(8)"/>
-
+
-
+
-
+