[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Sebastian Hinterwälder"<sebi-hinterwaelder@g...>
  • To: xml-dev@l...
  • Date: Fri, 09 Nov 2007 17:00:01 +0100



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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member