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

Count words and add line-brake

Subject: Count words and add line-brake
From: "Jacobus van Niekerk " <jacobus@xxxxxxxxxx>
Date: Mon, 8 Nov 2004 18:11:45 +0200
line brake
From: Jacobus van Niekerk [mailto:jacobus@xxxxxxxxxx] 
Sent: 08 November 2004 04:06 PM
To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
Subject: Count words and add line-brake

Hi All,

I hope someone can help. I would like to do the following.

1. Count the words in a specific xml node.
2. Insert a line-brake after every 15th word.

Source:
<txt>Here is some text. Here is some text. Here is some text. Here is some
text. Here is some text.Here is some text. Here is some text. Here is some
text. Here is some text. Here is some text.</txt>


Output:
<txt>
     Here is some text. Here is some text. Here is some text. Here is some
<br />
     text. Here is some text. Here is some text. Here is some text. Here is
<br />
     some text. Here is some text. Here is some text.
</txt>


Many thanks.

Kind Regards
Jacobus van Niekerk

Creative Consultant
............................

web: http://www.catics.com/  |  http://www.freelancecontractors.com
tel: + 27 21 982 7805

............................

This e-mail message is confidential and intended solely for the person to
whom or the entity to which it is addressed. All the contents and any
attachments remain the property of Catics Ltd unless so stated. If you are
not the intended recipient, you are prohibited from reading, copying, using
or disclosing this message to others. If you received this message in error,
please notify the sender immediately by replying to this e-mail or by
telephoning +27 21 9827805 and thereafter delete the message. Catics Ltd
does not accept liability for any personal views expressed in this message.

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.