How to concatenate the contents of a sequence of similar ele
I'm trying to put together a demo in support of a funding request for a project. I'm very new to XSLT and, as usual, have a deadline. The task is to convert a smallish Word file to XML and then demonstrate the flexibility of formatting output for multiple purposes using style sheets. Here is a snippet of XML that derives from Rick Geimer's excellent Omnimark utility, RTF2XML: <section> <p stylename="section" align="justify" fontname="TIMES" fontsize="19" bold="on"> <string fontname="TIMES" fontsize="19" bold="on">1.(1)Clause 8 (1) (a) of the </string> <string fontname="TIMES" fontsize="19" bold="on" italic="on">More Money for All Amendment</string> <string fontname="TIMES" fontsize="19" bold="on"> is deleted and the following substituted:</string> </p> ... <!-- more 'p' elements --> </section> You'll notice that there are three 'string' elements in a sequence due to the change in font style. May I have suggestions as to how to concatenate content of the three into one, say, 'para' tag? Thanks. ...edN XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
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