Ludoo
static bits and pieces

A few minutes ago I saw the second mention in just a few days of the XML résumé library and I really don't understand the benefits of writing a CV (or any other document) in XML.

It may be that my tastes are retro, but LaTeX is still the better option for writing documentation. I tried using DocBook a while ago, but the drawbacks are too many:

You may argue that with XML you get validation, but you get the same thing with LaTeX error messages, plus excellent output of typesetting quality, and lots of packages covering every possible need, since LaTeX and TeX have been around for a long time.

To write a CV in LaTeX, you could use the currvita package by Axel Reichert, which usually comes preinstalled on reasonably modern LaTeX installations. Currvita has a cleaner syntax than the XML Résumé Library, produces a better output, and allows you to use other LaTeX packages like BibTEX. Compare for example a job entry in the XML Résumé Library format

<job>
  <jobtitle>Junior Bedpan Cleaner</jobtitle>
  <employer>Framingham Palace</employer>
  <period>
    <from>
      <date>
        <month>October</month>
        <year>1633</year>
      </date>
    </from>
    <to>
      <date>
        <month>October</month>
        <year>1634</year>
      </date>
    </to>
  </period>
  <description>
    <para>Analyzed bedpan cleanliness strategies for royal
      family.  Learned how to make soufflés.
    </para>
  </description>
</job>

to the same one using currvita

\item[10/1633--10/1634] \textbf{Junior Bedpan Cleaner},
Framingham Palace\\
Analyzed bedpan cleanliness strategies for royal family. Learned how to
make soufflés.

Can you see my point? And I don't believe you'd find an XML CV useful, because you can query it using XPath, or extract lists of employers, dates, and so on. Have you ever needed to do it? And how long would it take to do the same thing using regexps on the LaTeX file, or using a parser on an HTML file generated by the LaTeX source? It's a CV, not enterprise data.

ludo ~ Oct 06, 2003 23:30:00 ~ upd Oct 07, 2003 00:07:30 ~ category TeX