<div dir="ltr">Hi all,<div><br></div><div>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.</div>

<div><br></div><div>The package is soon to be submitted to CRAN, open source and GPL.</div><div><br></div><div>Quick question: if a user provides a DDI XML file, is there an easy way to detect it&#39;s DDI version?</div>
<div>
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.</div><div><br></div><div>Thanks in advance for any hint,</div><div>

Adrian<br><div><div><br></div>-- <br><div dir="ltr">Adrian Dusa<br>University of Bucharest<br>Romanian Social Data Archive<br>1, Schitu Magureanu Bd.<br>050025 Bucharest sector 5<br>Romania<br>Tel.:+40 21 3126618 \<br>        +40 21 3120210 / int.101<br>

Fax: +40 21 3158391</div>
</div></div></div>