This week's book giveaway is in the Performance forum. We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line! See this thread for details.
Some XML parser /String handling --Which is better?
posted 10 years ago
Hi I have an application where we get an xml msg which is transformed using xslt. The transformed xml is actuallly a set of messages which needs to be tokenized and published onto jms individually. Before publishing we need to actually modify the message -- Remove one xml tag and add one xml tag at a specified location These changes cannot be done in the xslt as the tag values are either required /available in the application only.
we are presently handling it using string methods. Is it efficient to use to an xml parser or the present one will be better?