what should be the return type of method that returning xml string?

Xstasy

New Member
I have data access method that retrieves xml from database and returns back to business layer. What should be the return type? Should I simply return them as a string? What is the best practice when returning xml from one layer to another?I will be returning that xml back to client or may be convert them to json based on client request.
 
Back
Top