INTERNATIONAL TABLES

for CRYSTALLOGRAPHY

Volume G

Definition and Exchange of Crystallographic Data

cif2xml

Description

cif2xml (Bernstein, 2000) is a program to copy a CIF on standard input to an equivalent XML representation on standard output, while checking data names against dictionaries and reformating numbers with standard uncertainties to conform to the rule of 19. A QUASAR-style request list may be specified, otherwise the entire CIF is copied. The XML output may be literally derived from the CIF input, or transformations may be specified in a dictionary. The declarations required for the XML document may either be embedded in the new document, written to an external DTD, or referred to an existing file.

Distribution

Status

This is Version 0.1.0 of July 2000. The software is provided as a demonstration program with the CIFtbx distribution.

Language and platform

The software is written in Fortran77 and should compile and run in a command-line environment on any common operating system with a suitable Fortran compiler.

Documentation

Terms and conditions of use

Copyright in the software © the author.
Author: H. J. Bernstein

The software is distributed here under an open-source license. Queries concerning any use not covered under this license should be directed to [email protected].

References

Bernstein, H. J. (2000). xmlCIF: a proposal for faithful representation of Extensible Markup Language (XML) documents within Crystallographic Information File (CIF) data sets. http://www.bernstein-plus-sons.com/software/xmlCIF/.

Hall, S. R. & Bernstein, H. J. (1996). CIF applications. V. CIFtbx2: extended tool box for manipulating CIFs. J. Appl. Cryst. 29, 598-603.