cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Barclay <Daniel.Barc...@digitalfocus.com>
Subject Re: Fixing LDAP Examples
Date Mon, 10 Apr 2000 21:56:51 GMT


Kevin Sonney wrote:
> 
...> The default ldap.xml is incorrect. To properly run,l it should look like this :
> 
...
> <?xml version="1.0"?>
> <?xml-stylesheet href="ldap.xsl" type="text/xsl"?>
> 
> <?cocoon-process type="ldap"?>
> <?cocoon-process type="xslt"?>
> <page>
> 
>  <ldap-defs>
>   <ldap-server name="searchlight">
>    <initializer>com.sun.jndi.ldap.LdapCtxFactory</initializer>
>    <ldap-serverurl>ldap://ldap.bigfoot.com/</ldap-serverurl>
>   </ldap-server>
>  </ldap-defs>
> 
>  <ldap-query server="searchlight" ldap-searchbase="c=US">
>     sn=smith*
>  </ldap-query>
> 
> </page>


Do know why the <?xml-stylesheet href="ldap.xsl" type="text/xsl"?> and
<?cocoon-process type="xslt"?> processing instructions are necessary just
to get the LDAP processor to run?

(Why isn't "<?cocoon-process type="ldap"?>" sufficient?)


Daniel
-- 
Daniel Barclay
Digital Focus
Daniel.Barclay@digitalfocus.com

Mime
View raw message