Friday, March 26, 2010

my CV or Resume in XML

Until not too long ago I had kept my CV in DocBook, then I converted it to XMLRésumé (but the project really looks dead nowadays), now I am converting it to HR-XML/Resume. Yes, I know, its project admin just recently declared this SourceForge project as inactive. But then, what alternatives are there?
Of course, I want to edit HR-XML files in emacs using a RELAX-G grammar, but I didn't find any on the web. Well, that's not really a huge problem. Take a few nice sample files (of any XML), stuff them into trang, and trang creates a RELAX-NG grammar from them. Of course, that kind of grammar is far from perfect, but it's better than nothing, and you can always improve it manually, that's not that hard. That way I created a RELAX-NG "compact grammar" for HR-XML/Resume last night.
The grammar created actually has problems with  InternetWebAddress and Competency, but I was able to fix that for my personal use.
HR-XSL comes with a nice "XMLRésumé -> HR-XML/Resume" converter, that way my old XMLRésumé CV got converted into a good initial version for HR-XML/Resume. HR-XSL uses DocBook for creating HTML and PDF, but there is also a "DocBook -> RTF" converter, that I want to make use of.

No comments: