You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Lionel Crine <cr...@4dconcept.fr> on 2003/06/11 14:04:06 UTC

Re: Pipeline with action breaks ?

Did you try ?

     <map:generate src="useradmin/{../1}.xml"/>


At 13:49 11/06/2003 -0700, you wrote:
>Hi,
>I'm having difficulties with useing a action inside a match.
>When I use a action like this:
>
>  <map:match pattern="useradmin/*.xml">
>   <map:act type="xmldb-login">
>      <map:generate src="useradmin/{1}.xml"/>
>     <map:transform type="xmlform" label="xml"/>
>     <map:transform src="useradmin/stylesheets/wizard2page.xslt" type="xalan"
>/>
>     <map:transform src="useradmin/stylesheets/complex-page2html.xslt"
>label="pre"/>
>     <map:transform type="cinclude"/>
>     <map:transform src="useradmin/stylesheets/xmlform2html.xslt"/>
>     <map:serialize encoding="UTF-8" type="html" label="html"/>
>    </map:act>
>   <map:call resource="loginResource"/>
>  </map:match>
>
>The {1} inside the <map:act> is removed.
>But if I place a new match inside the <map:act> like:
>
><map:match pattern="useradmin/*.xml">
>   <map:act type="xmldb-login">
>     <map:match pattern="useradmin/*.xml">
>
>it works fine. What's wrong ?
>I'm running cocoon2.1-m2
>
>Morten Svanaes
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: cocoon-users-help@xml.apache.org


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


Re: Pipeline with action breaks ?

Posted by morten svanæs <mo...@web-som-virker.no>.
Hi,
no, but I have now.
Thanks! Works fine now.

Morten Svanaes

----- Original Message -----
From: "Lionel Crine" <cr...@4dconcept.fr>
To: <co...@xml.apache.org>
Sent: Wednesday, June 11, 2003 5:04 AM
Subject: Re: Pipeline with action breaks ?


> Did you try ?
>
>      <map:generate src="useradmin/{../1}.xml"/>
>
>
> At 13:49 11/06/2003 -0700, you wrote:
> >Hi,
> >I'm having difficulties with useing a action inside a match.
> >When I use a action like this:
> >
> >  <map:match pattern="useradmin/*.xml">
> >   <map:act type="xmldb-login">
> >      <map:generate src="useradmin/{1}.xml"/>
> >     <map:transform type="xmlform" label="xml"/>
> >     <map:transform src="useradmin/stylesheets/wizard2page.xslt"
type="xalan"
> >/>
> >     <map:transform src="useradmin/stylesheets/complex-page2html.xslt"
> >label="pre"/>
> >     <map:transform type="cinclude"/>
> >     <map:transform src="useradmin/stylesheets/xmlform2html.xslt"/>
> >     <map:serialize encoding="UTF-8" type="html" label="html"/>
> >    </map:act>
> >   <map:call resource="loginResource"/>
> >  </map:match>
> >
> >The {1} inside the <map:act> is removed.
> >But if I place a new match inside the <map:act> like:
> >
> ><map:match pattern="useradmin/*.xml">
> >   <map:act type="xmldb-login">
> >     <map:match pattern="useradmin/*.xml">
> >
> >it works fine. What's wrong ?
> >I'm running cocoon2.1-m2
> >
> >Morten Svanaes
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> >For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org


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