start moving beyond PMModelItemInfo
[pspp] / parse-all-xml
index c1282e03ff3bf6476afb81d3824526303762f18c..09ec646bef8f95bb57418be32bfe4742f7e9c8d4 100755 (executable)
@@ -1,13 +1,9 @@
 #! /bin/sh
 
-# Parse the structure members that do not represent models or graphs.
-# 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|borderProperties)'`
-
+# Parse the structure members.
+structure_members=`find unzipped* -name 'outputViewer*.xml'`
 if test -n "$1"; then
-    for d in $lightTables; do
-       ./parse-xml $d $1
-    done | sort | uniq -c | sort -rn
+    for d in $structure_members; do
+       ./parse-xml $d "$@"
+    done | sort | uniq -c
 fi