Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes XML and Related Technologies and the fly likes regarding string tokenizer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "regarding string tokenizer" Watch "regarding string tokenizer" New topic

regarding string tokenizer

LakshmiNarayana vishnu
Ranch Hand

Joined: Aug 03, 2006
Posts: 39

i am transforming one XML file into other xml file ...i am using .xsl file also in between....I am having some utility classes to parsing...

in my 1st xml file i am having one value like attribute:attributename..

i want to split that value into attribute and attributevale and i want to store attribute in attribute table and attribute value in attribute value..

please help me on this...

Thanks in advance,
Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

Not entirely sure what that means, but it sounds like the XPath functions substring() and substring-before() and substring-after() might be useful.
I agree. Here's the link:
subject: regarding string tokenizer
jQuery in Action, 3rd edition