-# Parse the structure members that do not represent models or graphs
-# and that are not page setups (which are always the first structure member).
-# 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
-
-printf '\nAttributes:\n'
-for d in $lightTables; do
- ./parse-xml $d attr:lockReader
-done | sort | uniq -c | sort -rn
-
-#printf '\nLabels:\n'
-#for d in $lightTables; do
-# ./parse-xml $d labels
-#done | sort | uniq -c | sort -rn
+# Parse the structure members.
+structure_members=`find unzipped* -name 'outputViewer*.xml'`
+if test -n "$1"; then
+ for d in $structure_members; do
+ ./parse-xml $d "$@"
+ done | sort | uniq -c
+fi