Re: eliminating multiple repeated tags in my XML
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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format