Skip to Content
author's profile photo Former Member
Former Member

How do I render XML Forms as HTML?


I have created a project in the XML Forms Builder on EP6 SP2 for publishing news. I have also created a sample news item. When I try to view this news item, it is opened in a browser window. But it is still an XML file in the background. The extension of this file is ".xml" when I open the news item in the browser. As per my understanding, there is an XSL Filter working in background that processes the XML file and renders it as HTML in my browser.

What I want to know is whether there is some way in the Enterprise Portal itself whereby I can create an HTML file from the XML file, in order to publish the content on another application server. To put in a nutshell, I want to create a news item, and then I want to publish that news item on another app server, not the EP; additional condition is that the app server can publish only pure HTML, so that I want to achieve the XML-->HTML conversion within the Enterprise Portal itself.

If anybody has any ideas or suggestions on how to achieve this, please let me know...directions about relevant documentation are also welcome.

Thanks and Regards.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Apr 08, 2004 at 10:04 AM

    Hi Sagar,

    first create new XSLT filter (System Administration -> System Configuration -> Knowledge Management -> Configuration -> Content Management -> Repository Filters -> XSLT Filter -> New).

    You have to define path, repository and stylesheets in order to get HTML from XML.


    Name: Example

    Extensions: xml

    Paths: /MyNews/**

    (** mean - allow transformation for all documents from this folder and subfolders)

    Stylesheet: wcm://etc/xmlforms/MyNews/MyNews_show.xsl

    (type your own path and xsl file (Show) that have been generated from XF Forms Builder)

    Active: Yes

    Repositories: documents

    Press OK and restart J2EE Servlet engine

    Start Portal again and from KM explorer try preview any xml file from /documents/MyNews.

    Result is HTML page.

    For example:

    You can show your news directly from URL:

    Best regards,

    Mustafa Beslagic

    Message was edited by: Mustafa Beslagic

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Mustafa

      I have a problem which can be related to you answer. When you define the path it's my understanding that a HTML file is generated from the XML and put into the defined folder. Is that right?

      Presuming i'm right why is my news put into the folder /documents/news when something else is defined in the path. Do I need to make some other configurations in order to make it work?

      Best regards

      Ole Mose Nielsen

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.