Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parse an XML Doc

Status
Not open for further replies.

kurie

Programmer
Jun 4, 2008
170
ZA
given the following XML doucument, how do i get the value of AckRes using Java,

"<?xml version=\"1.0\" encoding=\"UTF-8\"?> \n"+
" <AAA> \n" +
" <Acknowledge type=\"ReqAck\"> \n"+

" <AuthReqRef>88888</AuthReqRef> \n"+
" <AuthRef>1234</AuthRef> \n"+
" <AckNack>A</AckNack> \n"+
" <AckRes>00</AckRes> \n"+
" </Acknowledge> \n"+
" </AAA> \n";

thanks
 
you may be best asking in a Java forum

Java & Javascript have nothing in common (except the 1st 4 letters)

I do not Have A.D.D. im just easily, Hey look a Squirrel!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top