Skip to content Skip to navigation Skip to collection information

Connexions

You are here: Home » Content » Comparative Phonology Using Wordcorr » Import from XML

Navigation

Recently Viewed

This feature requires Javascript to be enabled.
 

Import from XML

Module by: Joseph Grimes. E-mail the author

Summary: The main way to get data in and out of Wordcorr, besides typing it in directly, is via an XML file.

You've already seen that Wordcorr saves everything in the form of XML files. An XML file has a tightly designed structure that keeps metadata, data, and the results of analysis sorted out at all times. A Wordcorr backup file is an XML file. A file for sharing a Wordcorr connection with another scholar or a student is the same thing, an XML file that preserves the structure of everything in a Wordcorr collection. A file for archiving is the same XML file, because it can be adapted to new media and new concepts years into the future.

So whenever you export an XML collection file, you have something that you or a colleague can import into the same computer to restore your work after a malfunction, or into another computer so that another pair of eyes can look at the same data and analysis.

The file you get will not be labeled as an XML file. It will be automatically compressed and presented as a ZIP file. But what is compressed is the XML file. Whether you refer to it as JG-Mind5.XML or JG-Mind5.ZIP, Wordcorr will check to see if it is compressed, and if so, it will extract the XML file from the ZIP file. If it isn't compressed (though it usually will be), Wordcorr knows enough to not try to uncompress it.

Note:

The reason for compressing everything coming out of Wordcorr and uncompressing everything coming into Wordcorr is simple and humane. Most comparative linguists are occasionally out in the field, either without regular access to the Internet or at best with very slow access. That's where the interesting languages are. For them, the smaller their files are, the better.

That makes it easy to back up your work at least once a day. Comparative phonology is complicated enough that you don't want to have to backtrack because of a slipup or a computer crash.

Being able to import Wordcorr files also makes it easy for colleagues to work on large data sets as a team -- though you'll need caution if two people are working on the same part of the same view.

Note:

If there is a chance two people's work on the same collection might get snarled up, the first precaution to take is to have your information technology people set you up with a versioning repository like CVS or SVN. See them for details.

XML is not the only way to take in data, and there are various ways to output data besides XML. The next section sketches some of these. But XML is the workhorse, safe and useful for all the main transport of information.

Collection Navigation

Content actions

Download:

Collection as:

PDF | EPUB (?)

What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

Downloading to a reading device

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

| More downloads ...

Module as:

PDF | EPUB (?)

What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

Downloading to a reading device

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

| More downloads ...

Add:

Collection to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks

Module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks