...
This step is actually a replay of the part of the gather XSLT that tries to find an existing match for URIs among the pre-existing foaf:Person s and foaf:Organization s. The main difference is that we use NewPers.xml and NewOrgs.xml in place of Per0.xml and Org0.xml . Figure 14 shows the code for the main XSLT template in fillURPs.xsl . The code for organizations is found in fillUROs.xsl .
fillURPs.xsl Main Template - Figure 14
...