Skip to content

Commit

Permalink
nested <change> requires <listChange>
Browse files Browse the repository at this point in the history
  • Loading branch information
thvitt committed Sep 4, 2018
1 parent 4cd3c1c commit 6a2b338
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/main/xproc/update-tei-sources.xsl
Expand Up @@ -101,7 +101,12 @@

<xsl:template match="ge:stageNote">
<change>
<xsl:apply-templates select="@*, node()"/>
<xsl:apply-templates select="@*, node() except ge:stageNote"/>
<xsl:if test="ge:stageNote">
<listChange>
<xsl:apply-templates select="ge:stageNote"/>
</listChange>
</xsl:if>
</change>
</xsl:template>

Expand Down Expand Up @@ -136,8 +141,7 @@
</xsl:template>

<xsl:template match="processing-instruction('oxygen')">
<xsl:processing-instruction name="xml-model">href="http://dev.digital-humanities.de/ci/view/Faust/job/faust-schema-tei-340/lastSuccessfulBuild/artifact/target/schema/faust-tei.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"</xsl:processing-instruction>
<xsl:text>&#10;</xsl:text>
<xsl:processing-instruction name="xml-model">href="http://dev.digital-humanities.de/ci/view/Faust/job/faust-schema-tei-340/lastSuccessfulBuild/artifact/target/schema/faust-tei.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"</xsl:processing-instruction>
<xsl:processing-instruction name="xml-model">href="http://dev.digital-humanities.de/ci/view/Faust/job/faust-schema-tei-340/lastSuccessfulBuild/artifact/target/schema/faust-tei.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"</xsl:processing-instruction>
</xsl:template>
</xsl:stylesheet>

0 comments on commit 6a2b338

Please sign in to comment.