So I'm working on a web API that a Roku Channel will interact with to send and receive data. Roku SDK has a built in XML Parser that is easy to use, but the only problem is that Roku will only parse XML wrapped in an <rsp stat="ok"></rsp>
element. I don't see how or where to override the XML Output on the web API to wrap it with the <rsp>
element.
So my question is, how can I override the XML Formatter and insert <rsp stat="ok">
before the output, and </rsp>
after?