This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

regd String Tokeniser


hi my question is regarding the String tokenizer function of java. 
I am making use of the String Tokenizer
in the following way

Statement : 1

<xsl:variable name = "tokens" select = 
"java:util.StringTokenizer.new($MyString,',')"/>

in analogy to java , where i give a statement like

Statement : 2

StringTokenizer strTokeniser = new StringTokenizer(str, 
token,false);

and then go through each of the token in a loop.

now ho do i do the same with Statement : 1 that is thro xsl
after the Statement : 1 is executed what will i have in the 
variable $tokens ??
and how do i iterate throgh the tokens??


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]