cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lionel Crine <cr...@4dconcept.fr>
Subject Re: cocoon-reload parameter
Date Tue, 18 Feb 2003 09:05:21 GMT
The pipeline :

         <map:match pattern="request">
             <map:generate type="Mygenerator"/>
             <map:transform type="Mytransformer">
               <map:parameter name="url" value="http://localhost/there.wdsl"/>
               <map:parameter name="domain" value="domain"/>
               <map:parameter name="server" value="server"/>
               <map:parameter name="base" value="base"/>
               <map:parameter name="name" value="name"/>
               <map:parameter name="password" value="password"/>
           </map:transform>
<!--      <map:transform type="xslt" src="demo/documents.xsl"/>-->
           <map:serialize type="xmltext"/>
         </map:match>


The xsl document :
...

<xsl:template match="indexdefinition">
  <html>
    <head>
      <link rel="stylesheet" type="text/css" href="../style/style.css"/>
    </head>
    <body>
    <h1 class="text" >IXIASOFT DEMO</h1>
<!--   <form method="post" target="_top" action="../ixiarequest">-->
    <form method="post" target="_top" 
action="../ixiarequest?cocoon-reload=true">
      <xsl:apply-templates select="indexes"/>
    </form>
    </body>
  </html>
</xsl:template>
...
etc

hope this help

At 08:38 18/02/2003 +0000, you wrote:
>Lionel,
>
> > You're right, but when I don't use it the sax events from my transformer
> > are lost.
> > They are in the tomcat "console" (the windows where we see the error) but
> > the xslt transformer do not get them.
>
>Could you post the <map:match pattern="ixiarequest"> section of your 
>sitemap, so
>that we can see what you are trying to do?
>
>Thanks,
>
>Upayavira
>
>---------------------------------------------------------------------
>Please check that your question  has not already been answered in the
>FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
>To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
>For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


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

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message