examples: Sane software manifesto statistics using XMLTable/XPath (indentation, resume)
--- a/relpipe-data/examples-in-xmltable-ssm-gui.xml Sun Oct 06 11:24:40 2019 +0200
+++ b/relpipe-data/examples-in-xmltable-ssm-gui.xml Sun Oct 06 11:49:11 2019 +0200
@@ -47,7 +47,8 @@
<m:img src="img/sane-software-statistics-chart-1.png"/>
<p>
-
+ Using these tools we can get statistics and charts from any XML or other supported format like CSV, Recfile or a <a href="https://sql-dk.globalcode.info/">database</a>.
+ We can also do advanced computations using SQL, Guile or AWK before piping the data to the GUI.
</p>
--- a/relpipe-data/examples/ssm-xmltable-1.makefile Sun Oct 06 11:24:40 2019 +0200
+++ b/relpipe-data/examples/ssm-xmltable-1.makefile Sun Oct 06 11:49:11 2019 +0200
@@ -5,11 +5,11 @@
--namespace "m" "tag:globalcode.info,2019:sane-software/manifesto" \
--relation "chapter" \
--records "//m:chapter" \
- --attribute "name" string "m:name" \
- --attribute "requirements" integer "count(descendant::m:item[m:type='requirement'])" \
+ --attribute "name" string "m:name" \
+ --attribute "requirements" integer "count(descendant::m:item[m:type='requirement'])" \
--attribute "recommendations" integer "count(descendant::m:item[m:type='recommendation'])" \
- --attribute "informations" integer "count(descendant::m:item[m:type='information'])" \
- --attribute "items_total" integer "count(descendant::m:item)" \
+ --attribute "informations" integer "count(descendant::m:item[m:type='information'])" \
+ --attribute "items_total" integer "count(descendant::m:item)" \
> build/statistics.rp
# Prints a table with number of items in particular chapters: