I am trying to create a page with .xml extension. Below are the steps I followed:
- Created a schema with one text field.
- Created a component with above schema and added desired xml content to component field.
- Created a DWT and CT for component.
- Created a page DWT to render component presentations.
- Created a PT with extension as ".xml".
- Created a page with above PT and added the above component.
Tried to publish the page.Publish is successful but when i try to view the page, i get an error as below.While page preview works fine.