On Tue, 26 Jun 2001, franck delarue wrote:
> hi,
> I want to produce a XSP file with a XML and a XSL
> file, and that the XSP file generates an other xml
> file. But I don't know how to configure the file
> sitemap.xmap.
> This is what I have done to configure the sitemap but
> it doesn't work :
>
> <map:match pattern="doc">
> <map:generate src="doc.xml"/>
> <map:transform type="serverPage"
> src="doc.xsl"/>
> <map:serialize type="html"/>
> </map:match>
There is not transformer of type serverPage. XSP are always at the
generator stage. Transform your xsl into a logicsheet (not much work
normaly) and your xml file into a xsp and you should be done.
Giacomo
>
> I work on linux redhat, with the server engine
> Resin 2.0.0 and cocoon 2.
>
> Thanks in advance.
>
>
>
> ___________________________________________________________
> Do You Yahoo!? -- Pour faire vos courses sur le Net,
> Yahoo! Shopping : http://fr.shopping.yahoo.com
>
> ---------------------------------------------------------------------
> 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]>
>
>
>
>
---------------------------------------------------------------------
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]>