Arekanderu Posted November 22, 2007 Share Posted November 22, 2007 Hello, I am using soap to communicate with the web services of a server. Everything so far so good....The return of the server however has the following format: <ELEMENTS_WRAPPER> <elementA attribute1="data_here" attribute2="data_here" attribute3="data3" /> <elementB attribute1="data_here" attribute2="data_here" attribute3="data3" /> </ELEMENTS_WRAPPER> I have searched to see if i could find a class that takes a string as xml and not a file but i wasn't happy with the results. At the moment as a work around i have created a function which through string manipulation i get the value i want between two other strings. It's a solution i do not like and i would appreciate it if someone has to suggest something else Regards Quote Link to comment Share on other sites More sharing options...
Arekanderu Posted November 22, 2007 Author Share Posted November 22, 2007 Ignore, next time i should read more carefully about simplexml_load_string Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.