cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zhang Newman-r53609 <>
Subject question for Cocoon
Date Thu, 10 Apr 2003 08:00:38 GMT
As developer, I need to created a website with Cocoon. Now I meet some questions for this
. May I ask some questions to you.
Let's show you at below.
file 1:(Sitemap.xmap)
<map:match pattern="getdata.html">
   <map:generate src="getdata.xsp" type="serverpages"/>
   <map:transform src="{target}" />
   <map:serialize type="html" />
file 2:(specialxsl.xml)
   <Type name="EMTL">
       <XSL url="xslfile1.xsl"/>
       <XSL url="xslfile2.xsl"/>
   <Type name="DMTL">
       <XSL url="xslfile1.xsl"/>
       <XSL url="xslfile2.xsl"/>
Now,I have a XSP program as getxsl.xsp that to request parameter from above XSP program .such
String v_type = request.parameter(Type);
String v_report = request.parameter(Report);
Then,match item with specialxsl.xml, select url to put in {target}.
As result,with match XSL file to transform "getdata.xsp" 
How can do it?
Any sounds is good. Thanks very much.


POPI Classification is as Following, Please Handle Accordingly.
General Business Information
Motorola Internal Use Only
Motorola Confidential Proprietary 


View raw message