From f50c2299fa376345cc163cf73175132fabb5d82c Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Fri, 21 Nov 2014 09:15:24 -0500 Subject: [PATCH] f:apply implemented Although the general concept was independently discovered, the finer details of this implementation are motivated by the excellent, comprehensive work of Dimitre Novatchev[0]. For those of us who either can't, or don't wish to, abaondon XSLT. [0]: http://conferences.idealliance.org/extreme/html/2006/Novatchev01/EML2006Novatchev01.html --- src/apply.xsl | 196 ++++++++++++++++++++++++++++++++++++++++++++ test/apply-test.xsl | 123 +++++++++++++++++++++++++++ test/apply.xspec | 175 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 494 insertions(+) create mode 100644 src/apply.xsl create mode 100644 test/apply-test.xsl create mode 100644 test/apply.xspec diff --git a/src/apply.xsl b/src/apply.xsl new file mode 100644 index 0000000..d4fda90 --- /dev/null +++ b/src/apply.xsl @@ -0,0 +1,196 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/apply-test.xsl b/test/apply-test.xsl new file mode 100644 index 0000000..939675b --- /dev/null +++ b/test/apply-test.xsl @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/apply.xspec b/test/apply.xspec new file mode 100644 index 0000000..0cc9b35 --- /dev/null +++ b/test/apply.xspec @@ -0,0 +1,175 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +