xsl-list
[Top] [All Lists]

Re: [xsl] eliminating multiple repeated tags in my XML

2008-03-07 17:20:13

you've still not shown if there is anything other than these elements in
your source at this level. if so, use the code that I posted (except
replace value-of by copy-of since your related-article elements (now)
have structured content.

If on the other hand what you posted is all there is as the child of
some element, you don't need to group anything, just use
<related-article>
  <xsl:copy-of select="related-article/(@*,node())"/>
</related-article>


David

--~------------------------------------------------------------------
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>
--~--