In XSLT 2.0, try
<xsl:template match="keywords">
<keywords><keyword>
<xsl:value-of select=".//text()/string()"/>
</keyword></keywords>
</xsl:template>
In 1.0, try
<xsl:template match="keywords">
<keywords><keyword>
<xsl:for-each select=".//text()"/>
<xsl:value-of select="."/>
<xsl:if test="position()!=last()">
<xsl:text> </xsl:text>
</xsl:if>
</xsl:for-each>
</keyword></keywords>
</xsl:template>
>I need help on this urgrently.
I usually refrain from answering urgent questions - experience shows that people are often in too much of a hurry to study the answer with care. I've made an exception this time, please don't prove my theory correct.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference