View Single Post
  #2 (permalink)  
Old 06-10-2007, 05:25 PM
JakeCigar JakeCigar is offline
Novice
Join Date: Jun 2007
Posts: 14
iTrader: (0)
JakeCigar is on a distinguished road
you always have to think differently with xsl!

perhaps you need to have the resultant tree be <tag1> with the text of every subnode separated by a comma... in that case the code is much simpler.

are you in the biz or learning in school? have you made any attempts? post what you have tried.

here's a hint!
<onetag>
<xsl:for-each select="manytags">
<xsl:value-of select="."/>
<xsl:if test="position()!=last()">,</xsl:if>
</xsl:for-each>
</onetag>

does that help?

__________________
Powered by Yahoo! Answers
Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!