I'm working with the GroupWise driver now, and am attempting to balance the
number of users in a single post office (desired < 1000) over multiple post
offices. The documentation contains a query that is supposed to return the
number of users in a post office, which I'd like to then use in my Placement
rule to decide who goes where.

The problem is that the query has multiple search-attr elements in it, and I
can't find a way to convince xpath to do this. It appears to only allow a single
search-attr in the string it uses to build the query.

The documentation query looks like this:

<nds dtdversion="1.1" ndsversion="8.6">
<query event-id="groupwise-query" scope="subtree">
<search-class class-name="user"/>
<search-attr attr-name="50035">
<search-attr attr-name="50062">
<read-attr attr-name="Record Count">

So far, the best I've been able to come up with is to use the xpath query to
search for 50062, then use a bit of XSLT on the Sub-OutputTransform to tack on
the 50035 part to the query document. This works, I think, but seems kinda ugly,
especially if there are multiple domains involved.

Is there any way to build this directly from xpath?

David Gersic dgersic_@_niu.edu

I'm tired of receiving rubbish in my mailbox, so the E-mail address is
munged to foil the junkmail bots. Humans will figure it out on their own.