In my application I am receiving xml as a String. I want to parse the String now.Below is my xml coming as string.
<m:notify>
<header:standardHeader>
<header:e2e>
<header:E2EDATA>busProcOriginator=IRAMS,busProcType=notify,busTxnType=MENNotifications</header:E2EDATA>
</header:e2e>
<ms1:meNm>ins-2</ms1:meNm>.....
I want to parse the data coming form ms1:meNm tag...
Could you suggest how to solve this issue..
Thanks in Advance..
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32599
4
posted
0
Too difficult for "beginning Java". Moving thread.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35223
7
posted
0
Any XML parser can do that. Check out the DOM and SAX APIs in the javax.xml.parsers package.
I am able to parse xml with the help of DOM parser.But in my application i am getting xml as String format.So please suggest me a better way to solve this issue.