Franck,

        if I got it right, you have a doc.xml file with some tags (referring to the
doc.xsl logicsheet) and want to produce an HTML file... is that so ?

        Well, if so, you have to declare the logicsheet namespace in the doc.xml
and change your sitemap to resemble this:

<map:match pattern="doc">
 <map:generate type="serverpages" src="doc.xml"/>
 <map:transform src="doc2html.xsl"/>
 <map:serialize type="html"/>
</map:match>

        I've added an extra step to transform XML into proper HTML.

Best regards,
 
---------------------------------------------
               Luca Morandini
               GIS Consultant
            [EMAIL PROTECTED]
          +39 0744 59  85  1 Office
          +39 0335 681 02 12 Mobile
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------


> -----Original Message-----
> From: franck delarue [mailto:[EMAIL PROTECTED]]
> Sent: marted́ 26 giugno 2001 9.54
> To: [EMAIL PROTECTED]
> Subject: XML->XSP->XML->HTML
>
>
> 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>
>
> 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]>

Reply via email to