Corriger l'indentation
This commit is contained in:
parent
30aec0a1a0
commit
8af606bd0f
@ -9,7 +9,8 @@
|
||||
first <tu> element, and create a column for each language. -->
|
||||
<!-- Philippe Tourigny, modified 3-6-2023, version 0.96
|
||||
Streamline namespaces to only those used in the transformation.
|
||||
Improve formatting for attributes too long to fit on a single line. -->
|
||||
Improve formatting for attributes too long to fit on a single line and
|
||||
fix awkward indentation. -->
|
||||
<!-- Copyright 2013 Dominique Meeùs, and 2022 Philippe Tourigny.
|
||||
This program is free software: you can redistribute it and/or modify it
|
||||
under the terms of the GNU Lesser General Public License
|
||||
@ -88,23 +89,23 @@
|
||||
table:number-columns-repeated="{$numLangs}"
|
||||
table:default-cell-style-name="ce2"/>
|
||||
|
||||
<!-- Fill in the language headers in the first row
|
||||
The use of the "local-name()" function enables
|
||||
the filter to handle older versions that use the
|
||||
"lang" attribute as well as recent versions that
|
||||
use the "xml:lang"` attributes -->
|
||||
<table:table-row table:style-name="ro1">
|
||||
<xsl:for-each select="$firstTU/tuv">
|
||||
<table:table-cell table:style-name="heading">
|
||||
<text:p>
|
||||
<xsl:value-of select="@*[local-name()='lang']"/>
|
||||
</text:p>
|
||||
</table:table-cell>
|
||||
</xsl:for-each>
|
||||
<!-- Fill in the language headers in the first row
|
||||
The use of the "local-name()" function enables
|
||||
the filter to handle older versions that use the
|
||||
"lang" attribute as well as recent versions that
|
||||
use the "xml:lang"` attributes -->
|
||||
<table:table-row table:style-name="ro1">
|
||||
<xsl:for-each select="$firstTU/tuv">
|
||||
<table:table-cell table:style-name="heading">
|
||||
<text:p>
|
||||
<xsl:value-of select="@*[local-name()='lang']"/>
|
||||
</text:p>
|
||||
</table:table-cell>
|
||||
</xsl:for-each>
|
||||
</table:table-row>
|
||||
|
||||
<!-- Process the <tu> and <tuv> elements in the TMX file:
|
||||
One row per tu, one column per segment in each <tuv>. -->
|
||||
<!-- Process the <tu> and <tuv> elements in the TMX file:
|
||||
One row per tu, one column per segment in each <tuv>. -->
|
||||
<xsl:for-each select="tmx/body/tu">
|
||||
<table:table-row table:style-name="ro1">
|
||||
<xsl:for-each select="tuv">
|
||||
|
Loading…
Reference in New Issue
Block a user