cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zhang Newman-r53609 <Newman.Zh...@motorola.com>
Subject question for Cocoon
Date Thu, 10 Apr 2003 08:00:38 GMT
Hello,
 
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" />
</map:match>
 
file 2:(specialxsl.xml)
<TypeList>
   <Type name="EMTL">
     <Report1>
       <XSL url="xslfile1.xsl"/>
     </Report1>
     <Report2>
       <XSL url="xslfile2.xsl"/>
     </Report2>    
    </Type>
   <Type name="DMTL">
     <Report1>
       <XSL url="xslfile1.xsl"/>
     </Report1>
     <Report2>
       <XSL url="xslfile2.xsl"/>
     </Report2>    
    </Type>
     ...
 </TypeList>
 
Now,I have a XSP program as getxsl.xsp that to request parameter from above XSP program .such
as:
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.
Newman

===================================================

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



 
 

Mime
View raw message