process builder in package.xml code example
Example: retrieve process builder using ant
<types>
<members>ProcessBuilderName-versionnumber</members>
<members>FlowName-VersionNumber</members>
<name>Flow</name>
</types>
<types>
<members>ProcessBuilderName-versionnumber</members>
<members>FlowName-VersionNumber</members>
<name>Flow</name>
</types>