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

FW: XSL to split a concatenated XML string

Subject: FW: XSL to split a concatenated XML string
From: "Cave, Neil" <Neil.Cave@xxxxxxxxxxxxxx>
Date: Tue, 14 Mar 2006 11:34:43 +0100
 FW: XSL to split a concatenated XML string
Hi XSL Ninjas

I have to split a list of concatenated XML strings and display it in 2
fields

The xml looks like

<?xml version="1.0" encoding="UTF-8" ?>
<optionList1>
<option>T51000000000000000000000000    NONE,.</option>
<option>T51000000000010000000000000    31 VAN STRAAT,.</option>
<option>T51000000000020000000000000    29 VAN   STRAAT,.</option>
<option>T51000000000030000000000000    36 BECKERWEG,.</option>
<option>T51000000000040000000000000    34 BECKERWEG,.</option>
</optionList1>

And I need to display 2 distinct columns  (in HTML)....

Stand Number                   Address

T51000000000000000000000000    NONE,.
T51000000000010000000000000    31 VAN STRAAT,.
T51000000000020000000000000    29 VAN   STRAAT,.
T51000000000030000000000000    36 BECKERWEG,.
T51000000000040000000000000    34 BECKERWEG,.

There will always be 14 occurrences of option within optionList1 the
stand number will always be 27 characters followed by space.

What's the best way to tackle this?

Regards
Neil

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.