First off I made some suggestions to your questions/problems below...skip ahead if you don't want my commentary on Cocoon.
Well it seems to me that when I started with Cocoon, I was hoping to jump right on in. Unfortunately, it was not that easy, but not b/c of Cocoon, rather my limited knowledge of xpath and xsl functions. Anyway, I tackled these problems by studying the applications samples packaged with cocoon and reading the documentation. It may be discouraging, but anything worthwhile can't be done overnight, right? Anyway, as I work more and more with Cocoon, I am amazed by the genius of it's architecture. Cocoon is certainly a tribute to Open Source and the greatness of those out there working on and contributing to it. Stick to it and you will be repaid. ************************************************ It seems if you have a servlet working, you must be looking to upgrade. So you should not be looking for an overnight solution, which is easy with all the options out there. Overall, the advice I can give is you must consider: 1)Are you going to use Cocoon for more than just a replacement for your servlet? 2)What technologies do you want to use: XSP,XSLT,etc. 3)You do not need to build from the CVS source, you can just download a pre-built version from the site (nightly or major release) http://xml.apache.org/dist/cocoon/ 4)You may not need to create a new transformer, but perhaps just make an action. http://xml.apache.org/cocoon/userdocs/concepts/actions.html 5)You prob need a minimal sitemap(see below) to match your url requests to your data. No need to worry about the endless options now. The beauty is you will learn them as you go and find that Cocoon has almost everything you could ever need. 6)Look over the user's guide and study some of the sitemaps packages with Cocoon. I hope this makes some sense. If not, I 'm sorry, but I feel as if Cocoon is a great way to go if you want to do more than just replace your serlvlet. With all the users, developers, wiki, documentation, and mailing lists...you will almost always get an answer. Whether or not it makes sense ;-) ! I attached a basic sitemap to get you going... -Julian <?xml version="1.0"?> <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0"> <!-- =========================== Components =================================== --> <map:components> <map:generators default="file"/> <map:transformers default="xslt"/> <map:readers default="resource"/> <map:serializers default="html"> <map:serializer logger="sitemap.serializer.xml" mime-type="text/xml" name="xml" src="org.apache.cocoon.serialization.XMLSerializer"/> <map:serializer logger="sitemap.serializer.html" mime-type="text/html" name="html" pool-grow="4" pool-max="32" pool-min="4" src="org.apache.cocoon.serialization.HTMLSerializer"> <buffer-size>1024</buffer-size> </map:serializer> </map:serializers> <map:matchers default="wildcard"/> <map:selectors default="browser"/> </map:components> <!-- =========================== Pipelines ================================= --> <map:pipelines> <map:pipeline> <map:match pattern="**"> <!-- ========================= Dynamic Content ================================--> <map:match pattern="viewHTML/**"> <map:generate src="myXMLDataSource"/> <map:transform src="myXSLSheet"/> <map:serialize type="html"/> </map:match> <map:match pattern="viewXML/**"> <map:generate src="myXMLDataSource"/> <map:transform src="myXSLSheet"/> <map:serialize type="xml"/> </map:match> <!-- ========================= Static Content =====================================--> <map:match pattern="viewStaticHTML"> <map:read src="static.html"/> </map:match> <map:match pattern="**images/*.png"> <map:read src="images/{2}.png" mime-type="image/png"/> </map:match> <map:match pattern="**images/*.jpg"> <map:read src="images/{2}.jpg" mime-type="image/jpeg"/> </map:match> <map:handle-errors> <map:transform src="context://task/stylesheets/error2html.xsl"/> <map:serialize status-code="500"/> </map:handle-errors> </map:pipeline> </map:pipelines> </map:sitemap> ===== Live simply so others may simply live. -Ghandi Pluralitas non est ponenda sine neccesitate. "Entities should not be multiplied unneccesarily" -William of Occam __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com --------------------------------------------------------------------- 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]>