File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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: 19847

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
It's not a secret anymore!