I have just pushed a new version of Penelope that allows you to output in StarDict format.
This is useful if you want to convert an XML dictionary into StarDict, or you want to write your own parser to manipulate an existing StarDict dictionary.
You can find the code at the Google Code project:
and the "manual" here:
(eventually, it will be moved to the wiki of the Google Code project).