Skip to content

Commit

Permalink
Merge pull request #651 from TEIC/sydb_598
Browse files Browse the repository at this point in the history
tidy up FPI generation
  • Loading branch information
sydb authored Mar 15, 2024
2 parents 030e0b1 + 6d2cca3 commit 946675f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Test2/inputFiles/testNonTeiOdd1.odd
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ schematypens="http://purl.oclc.org/dsdl/schematron"?>
<schemaSpec ident="nonTeiOdd" start="div" ns="http://www.w3.org/1999/xhtml">

<moduleSpec ident="NTO_heads">
<altIdent type="FPI">Non TEI ODD Test, headings</altIdent>
<ident type="FPI">Non TEI ODD Test, headings</ident>
<desc>This module holds the heading elements of various levels</desc>
</moduleSpec>

<moduleSpec ident="NTO_lists">
<altIdent type="FPI">Non TEI ODD Test, lists</altIdent>
<ident type="FPI">Non TEI ODD Test, lists</ident>
<desc>This module holds the elements for lists</desc>
</moduleSpec>

Expand Down
2 changes: 1 addition & 1 deletion odds/odd2dtd.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ of this software, even if advised of the possibility of such damage.
&lt;!ENTITY % file.</xsl:text>
<xsl:value-of select="@ident"/>
<xsl:text> PUBLIC '-//TEI P5//ELEMENTS </xsl:text>
<xsl:sequence select="( tei:idno[@type eq 'FPI'], tei:altIdent[@type eq 'FPI'] )[1]"/>
<xsl:sequence select="tei:idno[@type eq 'FPI']"/>
<xsl:text>//EN' '</xsl:text>
<xsl:value-of select="@ident"/>
<xsl:text>.dtd' &gt;
Expand Down

0 comments on commit 946675f

Please sign in to comment.