Looking for red letter bible in database format I've found a couple databases or xml (programming-friendly) Bibles online that I can work with for an application that I'm building.

One thing that I'd really like to find but haven't been able to is a red-letter edition of the KJV in some sort of programming friendly file, whether this is a database, a strictly-formatted text file (or likely, set of text files) or something like an XML or JSON fileset.

Does anyone know where I might find one?

I assume, but cannot be sure, that the red-lettering (Jesus' and sometimes God's words) still leaves the work in the public domain?

Edit: I had found johnhurt.com, a site that has a few bibles in access .mdb format, but they aren't red-letter. Still, much better than nothing, but thanks to the answer below, I have exactly what I want and more!
The standard KJV module for The Word. available to download from the page given or as part of a standard install of the module, is red letter. The format is not the best for your purposes though. Red letter text is indicated by &lt;FR&gt; ... &lt;Fr&gt;, unfortunately there are a lot of other markup codes you would have to deal with.

Here is an example:

Jesus&lt;WG2424&gt; said&lt;WG5346&gt; unto him&lt;WG846&gt;, &lt;FR&gt;It is written&lt;Fr&gt;&lt;WG1125&gt;&lt;FR&gt; again&lt;Fr&gt;
&lt;WG3825&gt;&lt;FR&gt;, &lt;Fr&gt;&lt;FR&gt;&lt;FO&gt;Thou shalt&lt;Fo&gt;&lt;Fr&gt;&lt;WG1598&gt;&lt;FR&gt;&lt;FO&gt; not&lt;Jesus&lt;WG2424&gt; 
said&lt;WG5346&gt; unto him&lt;WG846&gt;, &lt;FR&gt;It is written&lt;Fr&gt;&lt;WG1125&gt;&lt;FR&gt; again&lt;Fr&gt;&lt;WG3825&gt;&lt;FR&gt;, 
&lt;Fr&gt;&lt;FR&gt;&lt;FO&gt;Thou shalt&lt;Fo&gt;&lt;Fr&gt;&lt;WG1598&gt;&lt;FR&gt;&lt;FO&gt; not&lt;Fo&gt;&lt;Fr&gt;&lt;WG3756&gt;&lt;FR&gt;&lt;FO&gt; tempt&lt;Fo&gt;
&lt;Fr&gt;&lt;WG1598&gt;&lt;FR&gt;&lt;FO&gt; the Lord&lt;Fo&gt;&lt;Fr&gt;&lt;WG2962&gt;&lt;FR&gt;&lt;FO&gt; thy&lt;Fo&gt;&lt;Fr&gt;&lt;WG4675&gt;&lt;FR&gt;&lt;FO&gt; 
God&lt;Fo&gt;&lt;Fr&gt;&lt;WG2316&gt;&lt;FR&gt;&lt;FO&gt;.&lt;Fo&gt;&lt;Fr&gt;&lt;RF&gt;tempt: or, try, or, put to trial, or, 
proof&lt;Rf&gt;Fo&gt;&lt;Fr&gt;&lt;WG3756&gt;&lt;FR&gt;&lt;FO&gt; tempt&lt;Fo&gt;&lt;Fr&gt;&lt;WG1598&gt;&lt;FR&gt;&lt;FO&gt; the Lord&lt;Fo&gt;&lt;Fr&gt;&lt;WG2962&gt;
&lt;FR&gt;&lt;FO&gt; thy&lt;Fo&gt;&lt;Fr&gt;&lt;WG4675&gt;&lt;FR&gt;&lt;FO&gt; God&lt;Fo&gt;&lt;Fr&gt;&lt;WG2316&gt;&lt;FR&gt;&lt;FO&gt;.&lt;Fo&gt;&lt;Fr&gt;&lt;RF&gt;tempt: or, 
try, or, put to trial, or, proof&lt;Rf&gt;


Under Downloads -> Tools and technical docs you can find a .doc description of the format, special modules to help/test indexing and placement of verses, etc.

I tried a DDG search; the first four hits seem to be possibilities. Check out the third, http://www.geeksandgod.com/forums/web-development/miscellaneous/bible-xml-format where user iluke says he has the kjv in mysql. It's near impossible to know who's got red-letter markup and who doesn't, though.