My guess is you need to specify you are using the LDAP transformer like so <map:transform type="ldap" src="crocker/eldap.xsl" /> . This requires that you have defined this transformer in the first place, which is not done in the default sitemap in the distribution. Add:
<map:transformer name="ldap" src="org.apache.cocoon.transformation.LDAPTransformer" /> to the <map:transformers> element in the sitemap. > -----Original Message----- > From: Matthew Crocker [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 10, 2001 10:27 AM > To: [EMAIL PROTECTED] > Subject: Java code being dumped to browser. (newbie question) > > > Hello all, > > I'm setting up cocoon2 with tomcat, both are latest versions from the > website. The examples from tomcat and cocoon2 work fine. I'm also > trying to setup ELDAP and I'm having some trouble. I created a > pipeline in sitemap.xmap and when I bring up the URL in the browser I > see that the eldapbasiccample.xml is being transformed by the eldap.xsl > logicsheet but then the resulting java code is dumped to the browser. I > need to know how to get cocooon2 to execute the code and the process the > resulting XML -> HTML for display on the browser. > > Here is my pipeline info, I'm sure it is something I'm missing but I > just can't figure it out with the docs in the distrbution. > > <map:pipeline> > <map:match pattern="crocker"> > <map:generate src="crocker/eldapbasicsample.xml"/> > <map:transform src="crocker/eldap.xsl"/> > <map:serialize type="html"/> > </map:match> > </map:pipeline> > > > I'm assuming I just need another transform entry to process the java but > I don't know which one to put it. > > Thanks for any help > > -Matt > > > --------------------------------------------------------------------- > 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]>