On Mon, Dec 10, 2001 at 01:50:24PM -0500, Matthew Crocker wrote:
> Jeremy Crosbie wrote:
>
> >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.
> >
>
> I already put in the map:transformer entry and when I add 'type="ldap"'
> to my transformer line in the pipe line I get :
>
> ldap://localhost uid=matthew dc=crocker,dc=com base true 0 * 0 false
> error objectClass
>
> as output to the browser. This looks like the ldap transformer is
> parsing the eldapbasicsample.xml file and dumping it the screen without
> actually doing any LDAP look. I have slapd running in another window
> and I do not see any connection attempts made to the ldap server.
>
> The above output happens when I have the following pipeline
>
> <map:pipeline>
> <map:match pattern="crocker">
> <map:generate src="crocker/eldapbasicsample.xml"/>
Try this:
<map:generate type="serverpages"
src="crocker/eldapbasicsample.xml"/>
this is my guessing.
> <map:transform type="ldap" src="crocker/eldap.xsl"/>
> <map:serialize type="html"/>
> </map:match>
> </map:pipeline>
>
> And I have the following in my transformer map
>
> <map:transformer name="ldap"
> src="org.apache.cocoon.transformation.LDAPTransformer"/>
> </map:transformers>
>
>
HTH,
hubert.
---------------------------------------------------------------------
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]>