Skip to content

Commit

Permalink
Trivial changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomazErjavec committed Sep 2, 2023
1 parent 7ba1646 commit 20292db
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions Scripts/parlamint-lib.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@
exclude-result-prefixes="#all"
version="2.0">

<!-- Which language the metadata should be output (where there is a choice).
Sensible choices are
- empty (will chose the language of the corpus)
- "en" (will choose English, or xx-Latn, if avaialable)
Note that this is just a stub, which currently does nothing!
<xsl:param name="language"/>
-->


<!-- Filename of corpus root containing the corpus-wide metadata -->
<xsl:param name="meta"/>

Expand Down Expand Up @@ -127,6 +136,8 @@
</xsl:choose>
</xsl:variable>

<!-- TEMPLATES WITH SPECIAL MODES -->

<!-- Copy input element to output with XIncluding the files
ALSO: puts @xml:lang on all elements; the value is taken from the closest ancestor
or given as a paramter if the input does not have ancestor with @xml:lang i.e. root -->
Expand Down
3 changes: 2 additions & 1 deletion Scripts/parlamint2xmlvert.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
<xsl:import href="parlamint-lib.xsl"/>

<xsl:output method="xml" indent="no" omit-xml-declaration="yes"/>


<!-- Do we want the syntactic dependency and head attributes? -->
<xsl:param name="nosyntax"/>

<!-- String to put at the start and end of "incidents", i.e. transcriber notes -->
Expand Down

0 comments on commit 20292db

Please sign in to comment.