cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alain Ketterlin <>
Subject Re: LDPA processor query
Date Fri, 25 Aug 2000 10:19:45 GMT
LEBRETON Philippe (25 Aug) writes:

> How i can construct a query where with many attribut.
> In the LDAP sample, the attribut is "sn" and i want request whith
> "givename" and "email" attributs.
> in LDAP syntaxe, the request is : &(givename="tot*")(email="tot*)
> in xml file, my query is :
> <ldap-query server="search" ldap-search="o=cnamts,c=fr">
> &(givename="tot*")(email="tot*")
> </ldap-query>

& is "reserved" in XML. You have to spell it &amp; And I think you
need an additionnal pair of parens arounf the query.

<ldap-query server="search" ldap-search="o=cnamts,c=fr">

BTW: I've made an XSP taglib for querying an LDAP server. You can find
it (with some docs) at It
appears to be useable, afaik.

-- Alain.

View raw message