Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: For Each to a Comma Separated List For Each to a Comma Separated ListTo: NULL Date: 10/21/2009 2:33:00 PM I inherited an XSLT that I'm trying to modify... I'm a novice at this but have been able to pick my way through a lot of changes. But this one has me stumped. Here is the simple XML Block where I want to transform the ListNode items into a comma separated list that gets inserted into a table cell. <XMLBlk BlkAttr="A001"> <NodeA>Standard</NodeA> <ListNode> <ListItem>Item 1</ListItem> <ListItem>Item 2</ListItem> <ListItem>Item 3</ListItem> </ListNode> <AnotherNode></AnotherNode> </XMLBlk> The list output would be "Item 1, Item 2, Item 3" My table is somehow creates the CSL but inserts the individual items into what appears to be sub-cells. I get word wrapping on the "Item 1" text before it writes the "Item 2" text in the table cell. Question... what is the best way to structure this transform so that the cell just gets a CSL and wraps the content if it exceeds the width of the table cell? | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
