diff --git a/src/apply.xsl b/src/apply.xsl
index 5a2b704..f7130b5 100644
--- a/src/apply.xsl
+++ b/src/apply.xsl
@@ -1,4 +1,4 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/apply-test.xsl b/test/apply-test.xsl
index 5327deb..010de9c 100644
--- a/test/apply-test.xsl
+++ b/test/apply-test.xsl
@@ -28,13 +28,25 @@
-
+
+
+
+
+
+
+
-
+
@@ -42,7 +54,9 @@
-
+
@@ -51,7 +65,9 @@
-
+
@@ -61,7 +77,9 @@
-
+
@@ -72,7 +90,9 @@
-
+
@@ -85,7 +105,9 @@
-
+
@@ -99,7 +121,9 @@
-
+
@@ -114,7 +138,9 @@
-
+
diff --git a/test/apply.xspec b/test/apply.xspec
index 4ccce28..662c5d5 100644
--- a/test/apply.xspec
+++ b/test/apply.xspec
@@ -26,6 +26,9 @@
xmlns:foo="http://www.lovullo.com/_junk"
stylesheet="apply-test.xsl">
+
+
@@ -222,4 +225,162 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+