xsl-list
[Top] [All Lists]

Re: [xsl] Delimited string-value of elements / text nodes with XSLT 1.0?

2006-11-20 01:57:08
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

























        

        
                
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--