A Stitch in Time: Excel to XML in the Year 2014

This blog post is a reminder to me in the likely event that I’ll be in this situation again (hence “a stitch in time”), and I hope it may also prove a useful resource for others who discover themselves in my position. 

Behind the scenes of our XML-based Digital Mitford project, we’re organizing lots of information in Excel spreadsheets–info on archive holdings, bibliography data–it’s simply convenient to enter lots of data that way rather than in angle-bracket mode. We decided to use Excel for certain applications last summer only after we figured out how to “map” a spreadsheet file to XML. Having figured it out once, we’ve not needed to redo it until…today. I suddenly found a pressing need to set this up anew on my laptop, and I cursed myself today for not recording somewhere what I did months and months ago…because it was all so much more complicated than it needed to be and I didn’t want to go through all THAT again! Standard software applications shouldn’t be making their code-minded users work harder than they did 10 years ago to do the same things, and they only aggravate the problem when they don’t update their official Help documentation.

First of all, current versions of Excel (or versions 2007 and later) SEEM to offer sufficient tools to map spreadsheet data to XML, but one sooner or later figures out that the old 2003 version offered a better way to generate a schema (.xsd file) directly from the data.  

If you don’t have the Developer tab showing, you need to unveil it (or “customize the ribbon”). That’s the easy part.

Here’s what’s going to be obnoxious. If you want to generate your own schema from your data, without resorting to an external file, you’re going to wind up here, reading about how to “Create an XML Data File and XML Schema File from Worksheet Data” and sadly, it’s going to lead you to a buggy and outdated “XML Tools Add-in” patch. When you attempt to work with this old chestnut from the year 2003, you’ll generate errors (and headaches), not the schema you need. Keep the instructions open, but get yourself the revised XML Tools Add-in from Pixcels.nl: You could either follow their instructions to debug the 2003 add-in, or do yourself a big favor and just download and install their excellent debugged version of the year 2013.

Why this isn’t available to us directly from Excel’s documentation is…beyond comprehension!   

Project Update: Headnotes for the Digital Mitford

We’re hard at work on the Digital Mitford…an update:

Digital Mitford

We’ve not had a blog update from the Digital Mitford in a while, but our project team has been busy! We’ve been working on grant writing and conference talks, not to mention semester and job activities, our energies diverted in many directions. We need a Coding Refresher Hangout, so project-team members, please check your e-mail and write back to let me know what upcoming Saturdays might work for this.

I’m taking a moment now to think aloud about Headnotes for the literary editions we aim to prepare this year for the Digital Mitford. We’re working on coding a test-bed of files, a cross-section of Mitford’s letters, prose fiction, and drama composed in the early 1820s. This moment is especially significant for us in representing Mitford and, effectively, for gluing together the fragments of her reputation. (Victorianists know her for her prose fiction, Our Village, while Romanticists–if they’re aware of…

View original post 627 more words

Our Digital Humanities Course This Fall

Much excitement as we work on the Pacific Project for our Digital Humanities course this fall! Here’s a link to our course site in progress:


We’ll be putting together the course schedule in August, when we’re also moving to a new Greensburg campus server.


Digital Mitford Site Launch!

. . .and there is much rejoicing! We now have a project site, and a seed start on our digital garden:


The site address will be changing in about a month as we move to a new server. For now, it’s a beginning, and you can see something of what we hope to do with the Digital Mitford project! I am very pleased with learning a new JavaScript trick–I’d never cycled images before.  You can see one editing project nearly finished on the site, for a sampling of the TEI and versioning I’ve been working on. As much as I like the ease of use of JuxtaCommons and the Versioning Machine, I would like to devise my own parallel text view, which will take some coding fun with XSLT.

Feedback on site design and project parameters is most welcome.