How would I go about returning raw XML to a caller from seam?
I have a list of XML "files" that the user can choose from - when the user selects a link, I want the exact content of the "file" to be returned to the user - i.e. not wrapped in any HTML.
Greatful for any suggestions or pointers.
Regards
- henrik
<f:view xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
contentType="application/xml">
<h:outputText value="#{someGeneratedXml}" escape="false" />
</f:view>