Commit 81df187c authored by Dennis Neumann's avatar Dennis Neumann
Browse files


parent 7c3be153
......@@ -244,14 +244,14 @@ Furthermore, a warning message is generated that contains data of the first occu
<xsl:for-each-group select="descendant::node()[not(node())]" group-starting-with="pb">
<xsl:if test="self::pb">
<xsl:variable name="pageNumber" select="count(self::pb/preceding::pb) + 1" />
<xsl:variable name="pageNumber" select="count(preceding::pb) + 1" />
<field name="id">
<xsl:value-of select="$context/@xml:id" />
<xsl:value-of select="$pageNumber" />
<field name="article_id">
<xsl:value-of select="$context/../../@xml:id" />
<xsl:value-of select="$context/@xml:id" />
<field name="doctype">page</field>
<field name="page_number">
Markdown is supported
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