I have an IXml variable
IXml RetrieveOneReg = retrieveOneReg(webAppAccess, counter);
that contains the following information.
I would like to use these attributes in a String compareTo method, but I need to get them into Strings to do that.
How do I get these attributes into Strings?
I tried the following but it does not work.
String new_lname = RetrieveOneReg.getAttribute(lname);
Dinger 0600015X1A117 Posts
Re: IXml to String2013-03-21T20:28:54ZThis is the accepted answer. This is the accepted answer.Try this
String new_lname = RetrieveOneReg.getText("lname");
The content of this post is my own and does not necessarily represent the positions, strategies, or opinions of IBM.