From dbf27a48318ba76644d6e2b095358db60bf5c9b6 Mon Sep 17 00:00:00 2001 From: Skip Wonnell Date: Tue, 15 Aug 2017 18:07:13 -0500 Subject: Initial commit for config-generator bundle This bundle contains logic for creating the configuration, reading templates, and merging the data together Issue-ID: APPC-59 Change-Id: Ifd745964f659f075250d6acaf1b5f033da28e1c4 Signed-off-by: Skip Wonnell --- .../src/test/resources/transform/request.xml | 31 +++++++++++ .../src/test/resources/transform/template.xsl | 64 ++++++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 appc-config/appc-config-generator/provider/src/test/resources/transform/request.xml create mode 100644 appc-config/appc-config-generator/provider/src/test/resources/transform/template.xsl (limited to 'appc-config/appc-config-generator/provider/src/test/resources/transform') diff --git a/appc-config/appc-config-generator/provider/src/test/resources/transform/request.xml b/appc-config/appc-config-generator/provider/src/test/resources/transform/request.xml new file mode 100644 index 000000000..9980d2035 --- /dev/null +++ b/appc-config/appc-config-generator/provider/src/test/resources/transform/request.xml @@ -0,0 +1,31 @@ + + + +
+ A Sample Article + The First Major Section + This section will introduce a subsection. + The Subsection Heading + This is the text of the subsection. + + + +
diff --git a/appc-config/appc-config-generator/provider/src/test/resources/transform/template.xsl b/appc-config/appc-config-generator/provider/src/test/resources/transform/template.xsl new file mode 100644 index 000000000..0ce46dfea --- /dev/null +++ b/appc-config/appc-config-generator/provider/src/test/resources/transform/template.xsl @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + +

+
+ + + +

+ +
+ + + +

+ +
+ + + + Error: Sections can only be nested 2 deep. + + + + +

+
+ +
+ + -- cgit 1.2.3-korg