+ <template match="/">
+ <variable name="result-fragment">
+ <apply-templates/>
+ </variable>
+ <variable name="result" select="exsl:node-set($result-fragment)"/>
+ <copy-of select="$result/*"/>
+ <exsl:document href="dependencies" method="text" encoding="UTF-8">
+ <for-each select="$result/rdf:RDF/*[nie:interpretedAs/nfo:PlainTextDocument]">
+ <value-of select="@rdf:about"/>
+ <text>
</text>
+ <for-each select="书社vocab:hasRecursiveDependencyOn/@rdf:resource">
+ <text>	</text>
+ <text>-</text>
+ <value-of select="."/>
+ <text>
</text>
+ </for-each>
+ <for-each select="书社vocab:hasDependencyOn/@rdf:resource">
+ <text>	</text>
+ <value-of select="."/>
+ <text>
</text>
+ </for-each>
+ </for-each>
+ </exsl:document>
+ <exsl:document href="destinations" method="text" encoding="UTF-8">
+ <for-each select="$result//书社vocab:SourceFile">
+ <value-of select="@rdf:about"/>
+ <text>|</text>
+ <value-of select="@书社vocab:destination"/>
+ <text>
</text>
+ </for-each>
+ </exsl:document>
+ </template>