Updated handling of project 0

no more empty links
Better XSLT to XHTML outputs
Triming of characters in variable labels
improved mapping