Link: maulin: wierd characters still unsolved.
Could you please tell me where exactly that line of code should be placed?
You need to put it where you are getting the value for the date element you want to get rid of the 0's from. That is, you need to use it instead of using the default template to get the date value. To do that I would write a template that specifically matched the element I wanted to strip the 0's out of. Here's an example for an element called Date that I want to strip the 0's out of:
<xsl:template match="Date">
<xsl:value-of select="substring-before(Date,' 0:')"/>
</xsl:template>
Now, any element called Date will no longer be handled by the default template.