Page: http://wiki.cocoondev.org/Wiki.jsp?page=DataDebuggingTechnique , version: 
6 on Fri May  9 15:16:38 2003 by 81.51.208.210

- In this example, an action optionally fires, then an xsp page generates some 
data, then an XSL stylesheet generates a presentation-independent user 
interface, which is then transformed by yet another XSL stylesheet to HTML.
+ In this example, an action optionally fires, then an xsp page generates some 
data, then an XSL stylesheet generates a presentation-independent user 
interface, which is then transformed by yet another XSL stylesheet to HTML. It 
could be a good practice pipeline, shortly expressed like that :
?                                                                               
                                                                                
                                                                 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

+ 
+ {{{
+ <map:pipeline>
+   <map:match pattern="show-*">
+     <!-- Fetch the data -->
+     <map:generate type="serverpages" src="{1}.xsp"/>
+     <!-- Generate the UI -->
+     <map:transform src="{1}-ui.xsl"/>
+     <!-- Prepare for presentation in an HTML browser -->
+     <map:transform src="ui2html.xsl"/>
+     <map:serialize type="html"/>
+    </map:match>
+ </map:pipeline>
+ 
+ }}}
+ 
+ ! More steps in the pipeline
+ 
- A second possibility is the use of [views|View]. 
?  -------

+ A possibility is the use of [views|View]. 


Page: http://wiki.cocoondev.org/Wiki.jsp?page=FredericGlorieux , version: 4 on 
Fri May  9 15:07:21 2003 by 81.51.208.210

- # [ViewSource]
+ # [DataDebuggingTechnique]


Reply via email to