start moving beyond PMModelItemInfo
[pspp] / parse-detail-xml
index 6d7858835eea14ea22f584442816e3c1cf632148..28fa551dc3b210d4a1ea863eb857e2a2f4ce7107 100755 (executable)
@@ -1,11 +1,9 @@
 #! /bin/sh
 
 # Parse the detail XML members.
-legacyXML=`ls -1 unzipped/*/*.xml |grep -vE 'outputViewer|stats|chart|model'`
-for d in $legacyXML; do echo $d; done | wc
-#grep -h -o '<style id="visualizationStyle"[^>]*>' $legacyXML
+legacyXML=`ls -1 unzipped*/*/*.xml |grep -vE 'outputViewer|stats|chart|model'`
 if test -n "$1"; then
     for d in $legacyXML; do
-       ./parse-xml $d $1
+       ./parse-xml $d "$@"
     done
 fi