[opencms-dev] Use openCms to generate xml page, not html.

Alexander Kandzior alex at opencms.org
Wed Feb 9 14:28:42 CET 2005


Actually the cms taglib does not generate the HTML, it's the JSP that make
use of the taglibs that add the markup. 

To genreate XML, you just need to create some XML markup instead of HTML on
the JSP that uses the cms taglib.

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com

 

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Dupont, Stephane
> Sent: Wednesday, February 09, 2005 2:06 PM
> To: The OpenCms mailing list
> Subject: [opencms-dev] Use openCms to generate xml page, not html.
> 
> Hi all,
> 
> I have installed openCms6a3, and it works fine (Tomcat/mySql).
> 
> Here is my goal : i'd like openCms to return only xml flow 
> (not html) from requests from other applications. These 
> applications (Struts like for example) then exploit the 
> returned xml in a xslt transform process to display the datas 
> with their corresponding style sheet.
> 
> All the xml content demos generate html pages using cms 
> taglibs (cms:contentload for example).
> Is there a cms taglib which return the xml content as it is 
> in the response ? Or a method to do that ?
> Any ideas ?
> 
> 
> Thanks in advance.
> Stephane
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list To 
> change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 




More information about the opencms-dev mailing list