cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <>
Subject Re: [XSP] <?cocoon-process type="xsp"?>
Date Mon, 14 Apr 2003 17:55:09 GMT
Hello Frans,

now I can't follow and am confused ;-)

>> <map:match pattern="main.html">
>>   <map:generate type="serverpages" src="cocoon:/mainxsp"/>
>>   <map:transform src="xsp2html.xsl"/>
>>   <map:serialize type="html"/>
>> </map:match>

This is the pipeline matching on URL pattern which you type in the 
browser, the request.

>> <map:match pattern="mainxsp">
>>   <map:generate type="serverpages" src="myxsp.xsp"/>
>>   <map:transform src="xsp2mainxsp.xsl"/>
>>   <map:serialize type="xml"/>
>> </map:match>

And this is the pipeline for the internal sub request from the above 
pipeline using pseudo protocol cocoon:/.

> am i have to join both of it.


> usually in our case, the descriptor.xml (standard xml), will be 
> transformed to another xml, based on descriptor.xsp.xsl (XSL with XML). 
> How to match it?

<map:match pattern="descriptor">
   <map:generate src="descriptor.xml"/>
   <map:transform src="descriptor.xsp.xsl"/>
   <map:serialize type="xml"/>

What has it to do with XSP?

Does this help?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message