Skip to Content
0
Former Member
Jul 14, 2008 at 12:20 PM

Output XML in portal component

6 Views

Hi verybody,

we are developing a simple portal component (extending AbstractPortalComponent) that reads some files in from the KM and outputs some XML.

The problem is that there are some HTML lines that the component auto-generates and that we are not able to delete, such as the <HTML> tag, the <HEAD> tag and so on.

My question is: is there a way to prevent this?

One solution we found is to create an XML file in a KM folder and then display it in a KM Iview, but we would prefer to avoid this; someone also suggested to create a Servlet class (extending HTTPServlet) and then include it in the application, but we have not tried it yet.

Thanks in advance!