Next in thread → Next in month →

Re: RE: [xml-dev] append strings in XSLT

From
"Sebastian Hinterwälder" <>
To
Date
2007-11-09T16:00:01Z
ID
<>
Thread
Re: RE: [xml-dev] append strings in XSLT
Hi

yes correct I wanted to concate text in an attribute, but already found out that my problem was also to put the "for-each" in wrong step in my xslt. Now it looks something like this :

<xsl:element name="Text">
        	    
<xsl:attribute name="string">
<xsl:for-each select="Feed/item">
								  <xsl:value-of select="concat(title,description)"/>
</xsl:for-each>
</xsl:attribute>

and seem to work fine. I will try your version later on. Thanks to you guys.

Greets Sebastian  

> XSLT coding questions are best asked on the xsl-list at mulberrytech.com
> 
> It looks like you want the concatenated text in an attribute, ist wahr?
> 
> In XSLT 2.0:
> 
> <element string="{item/title}"/>
> 


-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
Next in thread → Next in month →