* SPSS commands to create a SPSS OMS XML output file; this file could be uses by a XSL transformation to generate variabel-level metadata for a DDI codebook . * Configuration necessary for the file names and the title below, marked with "*** TO CONFIGURE" . * Description see * http://www.gesis.org/en/software/ddi/tools/spssoms2ddi/ * Joachim Wackerow, wackerow@zuma-mannheim.de, 2004-05-12 . * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * . *** TO CONFIGURE: SPSS file . file handle study /name = 'D:\DDI\Tools\spssoms2ddi\study.sav' . *** TO CONFIGURE: SPSS OMS XML output file . file handle oms_xml /name = 'D:\DDI\Tools\spssoms2ddi\study_spssoms.xml' . get file = study . oms /destination format = oxml outfile = oms_xml viewer = no . *** TO CONFIGURE: Title of the study, for the DDI element "/codeBook/stdyDscr/citation/titlStmt/titl" . title 'Example study' . frequencies variables = geschl schulab /statistics = stddev minimum maximum mean median mode . omsend .