Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

regarding string tokenizer

 
LakshmiNarayana vishnu
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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,
narvish
 
Paul Clapham
Sheriff
Posts: 21107
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not entirely sure what that means, but it sounds like the XPath functions substring() and substring-before() and substring-after() might be useful.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic