Could anybody point me towards some documentation about how to write/use xar files?

Thanks,
Radu