diff --git a/Makefile b/Makefile
index 4df9b82..ab7c49e 100644
--- a/Makefile
+++ b/Makefile
@@ -19,12 +19,13 @@
path_src := src
path_test := test
-test_in_apply_gen := $(path_test)/transform/apply-gen-test-in.xsl.apply
+test_apply := $(path_test)/apply/partial-test.xsl.apply \
+ $(path_test)/transform/apply-gen-test-in.xsl.apply
.PHONY: check test
test: check
-check: $(test_in_apply_gen)
+check: $(test_apply)
$(path_test)/runner
%.apply: %
diff --git a/src/apply/partial.xsl b/src/apply/partial.xsl
new file mode 100644
index 0000000..14ad561
--- /dev/null
+++ b/src/apply/partial.xsl
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/apply/partial-test.xsl b/test/apply/partial-test.xsl
new file mode 100644
index 0000000..0695395
--- /dev/null
+++ b/test/apply/partial-test.xsl
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/apply/partial.xspec b/test/apply/partial.xspec
new file mode 100644
index 0000000..8f0df53
--- /dev/null
+++ b/test/apply/partial.xspec
@@ -0,0 +1,202 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/transform/apply-gen.xspec b/test/transform/apply-gen.xspec
index df9dae9..51de570 100644
--- a/test/transform/apply-gen.xspec
+++ b/test/transform/apply-gen.xspec
@@ -73,7 +73,7 @@
- "
+
@@ -187,7 +187,7 @@
- "
+