In dirxml 1.1a it was possible to include self-written functions resp.
templates and use them within other StyleSheets.

i.e: <xsl:include href="../../../XSLT-Library/stringFunctions#XMLData"/>
<xsl:call-template name="containsWord">
<xsl:with-param name="string"
<xsl:with-param name="pattern" select="$searchString"/>

I'm working on an eDir->ads connector in IDM 3.0.1 and I'd like
to assign groupmemberships to users dependant on the users value of the
attr 'costCenter' for example.
The description of the ADS group contains a string with several
costCenter Numbers, i.e. '125,200,314'

I do a query out of a xpath statement with a search filter like

The problem is now, that this query would also match a description like
"Windows 2000 Server Group".

So what I'd like to do is to find an exact match of the value(between 2

In dirxml 1.1a I had a template which did this. With IDM3 and policy
builder I don't know how to implement this.
So, if it was possible to include my old template to the new policy and
make the old template analyse the query result, it would solve my problem.

Is it possible to include a XSLT Stylesheet and its templates into a
policy, so that I may call the templates somehow?

If not, how could I implement such an 'analyse-function' within my policy?

Best regards,