Subject: Re: Delimited string-value of elements / text nodes with XSLT 1.0?
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Mon, 20 Nov 2006 09:56:22 +0100 (CET)
|
Dimitre Novatchev wrote:
Hi
> <xsl:template match="text()">
> <xsl:value-of select="concat(., ' ')"/>
> </xsl:template>
Following is another solution, maybe better, and maybe not, depending
on the exact description of the problem (but the overall idea remains
the same):
<xsl:template match="p">
<xsl:value-of select="concat(' ', ., ' ')"/>
</xsl:template>
Regards,
--drkm
___________________________________________________________________________
Dicouvrez une nouvelle fagon d'obtenir des riponses ` toutes vos questions !
Profitez des connaissances, des opinions et des expiriences des internautes sur Yahoo! Questions/Riponses
http://fr.answers.yahoo.com
|