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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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



Reply via email to