Hello!

Can someone help me with this:

<map:pipeline>
    <map:match pattern="test/*">
                <map:act type="resource-exists">
                        <map:parameter name="url" value="{1}.xml"/>
                        <!-- it's available -->
                  <map:generate src="test/{1}.xml"/>
                  <map:transform src="test/style.xsl"/>
        <map:serialize/>
                 </map:act>
                 <!-- not found -->
                 <map:generate src="test/DocumentNotAvailable.xml"/>
                 <map:transform src="test/stylesheet.xsl"/>
                 <map:serialize/>
    </map:match>
</map:pipeline>

When I type in http://localhost:8080/cocoon/test/jobs, for some reason
Cocoon brings up DocumentNotAvailable.xml even though a jobs.xml
document does exist.
What am I doing wrong here?

Many thanks!



Ines Robbers



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

Reply via email to