Date: Wed, 29 Aug 2001 14:14:39 
From: "Beat De Martin" <[EMAIL PROTECTED]>

>  #     # ######   #     # ####### #     # #
>  ##    # #    #   #     #    #    ##   ## #
>  # #   # #    #   #     #    #    # # # # #
>  #  #  # #    #   #######    #    #  #  # #
>  #   # # #    #   #     #    #    #     # #
>  #    ## #    #   #     #    #    #     # #
>  #     # ######   #     #    #    #     # #######
> 
> 

> If I  want to separate  logic (XSL) and  content (XML) how  will the
> sitemap look like ? 

          <map:match pattern="welcome">
                <map:generate src="docs/samples/samples.xml"/>
                <map:transform src="stylesheets/simple-samples2html.xsl"/>
                <map:serialize/>
          </map:match>

or maybe it's still the logicsheet question? 
or  maybe  you  want  to  parse  multiple  xml  files  with  the  same
stylesheet? 

   <map:match pattern="sites/*.apache.org">
    <map:generate src="docs/samples/sites/{1}_apache_org.xml"/>
        <!-- the line above is the original one
    <map:transform src="stylesheets/sites/{1}_apache_org-html.xsl"/>
                 but you can replace it with this one  -->
    <map:transform src="stylesheets/sites/same_stylesheet_for_all_sites-html.xsl"/>
    <map:serialize/>
   </map:match>


> I know  I could handle the logicsheet  like a taglib and  make a new
> entry in the cocoon.xconf. Is there another way ?

I don't think so ;)

--Arnaud

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to