Madhu, This is documented pretty well in the sitemap and documentation itself - try adding the following to your sitemap inside a pipeline, assuming your xml file is called testcontent.xml and is in the content/ directory and your xsl is called testtransform.xsl and is in the transforms directory (that's all arbitrary -- change anything you need to match your current files):
<map:match pattern="test.html"> <map:generate src="content/testcontent.xml"/> <map:transform src="transforms/testtransform.xsl"/> <map:serialize/> </map:match> This will work becuase the default generator just looks up and parses the given file, and the default transformer is xslt, and the default serializer sends the result as html. Geoff Howard -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 2:36 PM To: [EMAIL PROTECTED] Subject: how to start xmls with cocoon ?? Hi, I have installed cocoon on my machine and I am using tomcat 3.2.3 . I have created a sample xml, xslt and sitemap and I want to create a .HTML file out of it but I am not knowing how to start with cocoon pipeline ?? Can anyone help me with this ?? Can I start with the .xml directly on the browser which will trigger the sitemap and go further ?? thanks Madhu --------------------------------------------------------------------- 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]>