Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tidy up FPI generation #651

Merged
merged 3 commits into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading