Document more attributes.
[pspp] / parse-all-xml
index 8b1fc366f692275c045a6bd1a943f144ef0876af..3d91d23006bbf25ed7373895b1b34884ab184e04 100755 (executable)
@@ -6,12 +6,17 @@
 # format.
 lightTables=`ls -1 unzipped/*/*.xml |grep -vE 'notes|table|warning|chart|model' \
           | xargs grep -EL '<([a-z]*:)?(model|graph|pageSetup|borderProperties)'`
-printf 'Structure:\n'
-for d in $lightTables; do
-    ./parse-xml $d containment
-done | sort | uniq | sort
+#printf 'Structure:\n'
+#for d in $lightTables; do
+#    ./parse-xml $d containment
+#done | sort | uniq -c | sort -rn
 
 printf '\nAttributes:\n'
 for d in $lightTables; do
-    ./parse-xml $d attributes
-done | sort | uniq | sort
+    ./parse-xml $d attr:type
+done | sort | uniq -c | sort -rn
+
+#printf '\nLabels:\n'
+#for d in $lightTables; do
+#    ./parse-xml $d labels
+#done | sort | uniq -c | sort -rn