1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:external="http://ExternalFunction.xalan-c++.xml.apache.org"
exclude-result-prefixes="external"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:mm="http://www.sagem.com/urd24/metamorpho">
<xsl:template match='/'>
<xsl:variable name="var">
<xsl:for-each select="list/item">
<xsl:value-of select="."/>|
</xsl:for-each>
</xsl:variable>
<xsl:value-of select="$var"/>
</xsl:template>
</xsl:stylesheet> |