XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
nag serSubject: String to array
Author: nag ser
Date: 16 Jul 2008 03:14 PM
hi all,

I have a input string coming like this "LASVEG"

now i need to map this string to an array object which has elements in it.

via -->LASVEG

need to map it to an element PORT array called STATION[].

Two business objects.

Arrive Station[]
1.via 1.Port
2.test 2.index
3. ... 3. ...

now i need to map this via to port .so that station[0] will have port

has LAS and station [1] will have port as VEG

can anyone tell me how to write XSL code for this.And also how we convert string LASVEG to an array of 2 elements like LAS and VEG



Posttop
Minollo I.Subject: String to array
Author: Minollo I.
Date: 16 Jul 2008 09:26 PM
You seem to be mixing Java concepts (arrays, objects) and XSLT; they are quite different topics.

Anyway, XSLT general questions are better asked on public discussion lists, like the one at mulberrytech dot com; Java questions can be asked is dozens of different places.

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.