xsl-list
[Top] [All Lists]

merging the contents of consecutive

2005-10-18 12:22:32
Thanks for the tip, Michael.
 
I want to generate a single element to replace two consecutive info
elements that are children of an overview element and have the same name
(and concatenate their contents.)  There will be no more than one pair
of these info elements in each overview element. I don't want to
generate a single element containing all duplicate elements.

For example, this code finds the info element that is a child of an
overview element and whose next following sibling is also an info
element. 

<xsl:template match="overview/info[following-sibling::*[1][self::info]]"


At this point, I'm stuck. How do I concatenate both elements?

thanks,

Ann Marie 

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>