[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

How to concatenate the contents of a sequence of similar ele

Subject: How to concatenate the contents of a sequence of similar elements
From: "Ed Nixon" <ed.nixon@xxxxxxxxxxxxxxxxx>
Date: Wed, 5 Apr 2000 13:51:52 -0400
xsl fo concatenate string
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.