Document pageSetup.
[pspp] / parse-all-xml
index 0dfd8102500184356c46daafdbdc4d2055a1e226..c4146fc0194b17b7c82cb3c038f104e068d6d686 100755 (executable)
@@ -5,18 +5,10 @@
 # Also skip those with borderProperties, which indicate the non-"light"
 # 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 -c | sort -rn
+          | xargs grep -EL '<([a-z]*:)?(model|graph)'`
 
-printf '\nAttributes:\n'
-for d in $lightTables; do
-    ./parse-xml $d text
-done | sort | uniq -c | sort -rn
-
-#printf '\nLabels:\n'
-#for d in $lightTables; do
-#    ./parse-xml $d labels
-#done | sort | uniq -c | sort -rn
+if test -n "$1"; then
+    for d in $lightTables; do
+       ./parse-xml $d $1
+    done | sort | uniq -c | sort -rn
+fi