From 77ff279139655b92d524e252e8fc11be00085fca Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Wed, 7 Oct 2015 23:56:04 -0400 Subject: [PATCH] Primitive node constructors --- doc/hoxsl.texi | 8 +- src/node.xsl | 209 +++++++++++++++++++++++++++++++++++++++++ test/node.xspec | 243 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 459 insertions(+), 1 deletion(-) create mode 100644 src/node.xsl create mode 100644 test/node.xspec diff --git a/doc/hoxsl.texi b/doc/hoxsl.texi index eb1a7d8..4bf67a6 100644 --- a/doc/hoxsl.texi +++ b/doc/hoxsl.texi @@ -10,7 +10,8 @@ @copying This manual is for hoxsl, version @value{VERSION}. -Copyright @copyright{} 2014 LoVullo Associates, Inc. +Copyright @copyright{} 2014, 2015 LoVullo Associates, Inc. +Copyright @copyright{} 2015 Mike Gerwitz @quotation Permission is granted to copy, distribute and/or modify this document @@ -45,6 +46,7 @@ Free Documentation License". @menu * Higher-Order Functions:: XSLT 2.0 compatible higher-order functions +* Node Constructors:: Constructing nodes functionally * License:: Document License @end menu @@ -57,6 +59,10 @@ Free Documentation License". @chapter Higher-Order Functions @include ../src/apply.texi +@node Node Constructors +@chapter Node Constructors +@include ../src/node.texi + @include license.texi @bye diff --git a/src/node.xsl b/src/node.xsl new file mode 100644 index 0000000..55fe689 --- /dev/null +++ b/src/node.xsl @@ -0,0 +1,209 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/node.xspec b/test/node.xspec new file mode 100644 index 0000000..36233c4 --- /dev/null +++ b/test/node.xspec @@ -0,0 +1,243 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +