[DDI-users] detect DDI version

Adrian Dușa dusa.adrian at unibuc.ro
Mon Jun 23 11:47:07 EDT 2014


Hi all,

As part of another project, I am now trying to develop a series of R
functions to read, update and produce XML DDI files, plus setup files
accompanied by ASCII data files to convert between various statistical
software.

The package is soon to be submitted to CRAN, open source and GPL.

Quick question: if a user provides a DDI XML file, is there an easy way to
detect it's DDI version?
I could of course check for various XML entries, specific to each version,
but maybe there is a way to detect that in the XML header or something like
that.

Thanks in advance for any hint,
Adrian

-- 
Adrian Dusa
University of Bucharest
Romanian Social Data Archive
1, Schitu Magureanu Bd.
050025 Bucharest sector 5
Romania
Tel.:+40 21 3126618 \
        +40 21 3120210 / int.101
Fax: +40 21 3158391
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.icpsr.umich.edu/pipermail/ddi-users/attachments/20140623/d4ab2958/attachment.html 


More information about the DDI-users mailing list