Commit ba700756 authored by thorsten.vitt's avatar thorsten.vitt
Browse files

fixed aggregation generation

parent 835c10c0
......@@ -33,8 +33,7 @@
<xsl:when test=".//tei:graphic">
<ore:aggregates>
<xsl:attribute name="rdf:resource" select="concat($rel-path, '.aggregation')"/>
</ore:aggregates>
<xsl:message select="'aha'"></xsl:message>
</ore:aggregates>
<xsl:call-template name="generate-aggr-meta">
<xsl:with-param name="path" select="$path"/>
<xsl:with-param name="extension" select="'.aggregation.meta'"/>
......@@ -63,14 +62,13 @@
<xsl:param name="header" tunnel="yes"/>
<xsl:param name="path"/>
<xsl:param name="rel-path"/>
<ore:aggregates>
<xsl:attribute name="rdf:resource" select="concat($rel-path, '.edition')"/>
</ore:aggregates>
<xsl:choose>
<!-- Aggregate the current TEI-Element as aggregation if it contains graphics, generate the corresponding aggregation and aggregation
meta-files -->
<xsl:when test=".//tei:graphic">
<ore:aggregates>
<xsl:attribute name="rdf:resource" select="concat($rel-path, '.edition')"/>
</ore:aggregates>
<xsl:message select="'aha'"></xsl:message>
<xsl:when test=".//tei:graphic">
<xsl:call-template name="generate-edition-meta">
<xsl:with-param name="path" select="$path"/>
</xsl:call-template>
......
......@@ -38,7 +38,7 @@
<xsl:param name="header" tunnel="yes"/>
<xsl:param name="path"/>
<xsl:param name="extension"/>
<xsl:result-document href="{concat($path,'aggregation.meta')}">
<xsl:result-document href="{concat($path,'.aggregation.meta')}">
<object>
<generic>
<xsl:call-template name="generate-generic">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment