Loading XPDL
============

XPDL can be loaded in zcml files with the ``xpdl`` tag::
    
    >>> import os
    >>> file_name = os.path.join(this_directory, 'publication.xpdl')
    >>> zcml("""
    ...     <configure 
    ...         xmlns="http://namespaces.zope.org/zope"
    ...         xmlns:wfmc="http://namespaces.zope.com/wfmc"
    ...         i18n_domain="test"
    ...         >
    ...
    ...         <wfmc:xpdl 
    ...             file="%(file_name)s" 
    ...             process="Publication"
    ...             id="example.publication"
    ...             />
    ...
    ...     </configure>
    ... """ % locals())

Lets verify that they were configured::

    >>> from zope.wfmc.interfaces import IProcessDefinition
    >>> import zope.component
    >>> zope.component.getUtility(IProcessDefinition, 'example.publication')
    ProcessDefinition('example.publication')
