From QDA to XML: The REFI-QDA project exchange standard

With the continuing implementation of the new REFI-QDA project exchange standard by many developers of qualitative data analysis software, it now becomes possible to transfer projects from one software to another using an XML exchange format. This allows the use of multiple QDA tools on the same database and breaks open many of the limitations of proprietary software. Although some specialised functions can be lost in the transformation process, this finally opens the door to move projects from one software to another and to access them as XML files.

Something is happening in the world of qualitative data analysis. Since the first versions of MAX, ATLAS and  NUD*IST (now NVIVO) were launched in the early1990s, the field of (commercial) QDA-software suffered from one important shortcoming: Proprietary solutions blocking exchange and triggering painful questions by the trusted data repository of your choice.

When I learned earlier this year that all major developers of QDA software had agreed on a common exchange standard for QDA projects, I was more than just a little excited. As it turned out, the following major publishers began integrating it into their tools:

Implementation table of the REFI-QDA Project standard. (Nov. 2019). Source:

With the recent release of MAXQDA2020 also my favourite analysis software joined them. Yet what is this new exchange standard exactly? What can and what can it not do? And most importantly: What does this imply for the future of qualitative data analysis?

What is the REFI-QDA exchange standard?

REFI is shorthand for Rotterdam Exchange Format Initiative. This initiative originated in September 2016 during the KWALON Conference “Reflecting on the Future of QDA Software” in Rotterdam. There, the CEOs of eight software companies met and began working on an exchange standard that allows for interoperability between their products.

As a first step, they launched the REFI-QDA Codebook in March 2018. This is a standard format for defining codes (categories, tags) for usage in qualitative data analysis. This export format allows for interchangeability of different code systems between the software.

As a second step, they launched the REFI-QDA Project standard in March 2019. An exchange standard, that allows to move entire projects from one software to another. The standard exchange file is XML based and therefore not just allows specialised QDA software to open it but allows any software that is able to process XML to access the data. (You can find the XSD specifications of the XML format here ).

What can it (not) do?

The REFI-QDA standard is an exchange standard. Therefore, by the nature of how the thing came into existence, it is the minimum that the different software developers could agree upon. Some of these software programs have not just different terminologies but also differences in their underlying logic and, of course, many of them offer unique features. Thus, whenever a project is moved from one software to another, some information will be lost.

However, although something is lost, much is gained. As we can see bellow, the core of the project is transferred. Here, I took my Master thesis and exported it from MAXQDA2020 to ATLAS.ti 8:

A research project created in MAXQDA2020.
The same project after transferring it into ATLAS.ti

Of course, some things look different. The code hierarchies of MAXQDA are reflected in the code names and code relations of ATLAS.ti. The table of document variables was transformed into a list of “document groups”. Also, the table documents of MAXQDA are not contained in the REFI standard. The result is the same when sending the data the other way and looking at a genuine ATLAS.ti project in MAXQDA: what is unique in a software, is lost.

What is that .qdpx file?

However, we cannot only look at our project from within (commercial) QDA software, but we can also look at the exchange file as an XML. For this, even a free and simple tool like Notepad allows us to access our project.

The “.qdpx” file that is created for the exchange, is basically a .zip file that can be opened after renaming it. This file contains a folder “sources” with the plain documents and one file called “project.qde” which is an XML.

The same project after being opened in Notepad

The XML file contains an element <codebook> which lists all the <codes> used for annotation. The element <sources> contains a list of the documents (the element <TextSource>) and the <codings> within each document. The codings are defined by start and end position in the linked document. Furthermore, elements <note> for memos and <sets> for document groups and variables are available.

So we see from the structure that it is not a group of text documents with internal XML markup, but rather a list of codes and coded segments that are linked to external files (called ‘stand-off markup’). This format is interpreted by the QDA software and transformed into a corresponding project file. (You can download the entire project above as a .qdpx / xml file here).

We will go into these differences in more detail in a follow up article. For now, most importantly, our documents, codes and coded segments were successfully transferred from one software to another and we can even access them with an XML editor.

What does this imply for the future of QDA?

This has a wide range of advantages for the users of QDA software:
  • The exchange between software programs allows access to a much wider range of analysis tools
  • Cooperation and follow-up studies across the boundaries of research software are possible
  • Even after a license runs out the project remains accessible independent of proprietary software
  • Projects can be easily archived in an open format
  • The analysis done in (commercial) QDA software becomes now open to use as an XML
All in all I think this has been a crucial step, not just for research in qualitative data analysis but also for Open Science. I mean, how often does it really happen that software companies come together and agree on an open exchange standard?

3 thoughts on “From QDA to XML: The REFI-QDA project exchange standard

  1. I have developed QualCoder, written in python3 and Qt. It can mostly import and export qdpx files. It is an experimental function at this stage as it is not fully tested and does not implement the standard relating to very large files over 2Gb.

  2. Nice article. Thanks!

    You say: “The analysis done in (commercial) QDA software becomes now open to use as an XML.” Have you tried? Do you know any open-source tools that facilitate use of .qdpx files? Personally, I’m more interested in working in Python (or Javascript) than R or SAS. But am wondering if there are tool for doing network analysis or converting projects or parts of projects into standard graph data file formats. Thanks!

    1. Thank you for your comment, I am glad you liked the article!
      Unfortunately, I don’t know of any open-source tools that directly use .qdpx files and I haven’t tried any network analysis with XML yet. However, with the exchange standard being an XML this option is there, just someone needs to explore it.

      As I tried to explain in the article, you can open the .qdpx as an XML. For this you just need to do the following:
      – rename the .qdpx to .zip
      – unpack the zip
      – rename the project.qde to project.xml

      Now you can use the XML just as you would use any other XML file. You can open it in any (free) XML Editor or use a Python package to process the XML in any way you want.
      I have not tried it yet to work with the XML itself, but I would be very curious to see what people can make of it.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.