The Coding Analysis Toolkit:
XML Data Preparation Tips
Notes to remember:
- Include the XML version and encoding
- The XML file must conform to the schema located
here. This includes the ordering of the elements.
- Enclose any text items in CDATA markers
Sample XML document:
<?xml version="1.0" encoding="us-ascii" ?>
<rawcodefile>
<codefileheader>
<datasetname>Sample dataset name</datasetname>
</codefileheader>
<allowablecodes multiplecodes="true">
<code>
<codetext>Primary Code</codetext>
<codedescription>The first code for this dataset</codedescription>
<codekey>1</codekey>
</code>
<code>
<codetext>Secondary Code</codetext>
<codekey>2</codekey>
</code>
<code>
<codetext>Other</codetext>
</code>
</allowablecodes>
<items>
<item>
<itemtext>
<![CDATA[
The text for the first item goes in here. Be sure to use the
CDATA markers around the text items!
]]>
</itemtext>
</item>
<item>
<itemtext>
<![CDATA[
The text for the second item goes in here. Just to reiterate, be
sure to use the CDATA markers around the text items!
]]>
</itemtext>
</item>
<item>
<itemtext>
<![CDATA[
Finally, a third text item here, again, in CDATA markup.
]]>
</itemtext>
</item>
</items>
</rawcodefile>
[Read
more about CAT] [Beta
Tester Reviews of CAT]
New: Download
sample raw data
and sample code file to use in CAT
Home |
About QDAP |
What We Offer |
Innovation
| Testimonials
QDAP-UMass |
Coding, Reliability & Validity
Tools | CAT
Slideshow |
CAT
Tutorial |
CAT
UCSUR Home |
About UCSUR
Contact Us
|
Codeshop Wiki
|
Qual
Reading Wiki |
ResearchTalk
|
ATLAS.ti
QDAP
"the smart way to code text"
© Qualitative Data Analysis
Program, 121 University Pl., Suite 600, Pittsburgh, PA 15260 (412) 624-1613