fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
dbf3690
)
pass src attribute for słowniczek
author
Jan Szejko
<janek37@gmail.com>
Wed, 23 Nov 2016 13:25:44 +0000
(14:25 +0100)
committer
Jan Szejko
<janek37@gmail.com>
Wed, 23 Nov 2016 13:25:44 +0000
(14:25 +0100)
redakcja/xslt/wl2to1.xslt
patch
|
blob
|
history
diff --git
a/redakcja/xslt/wl2to1.xslt
b/redakcja/xslt/wl2to1.xslt
index
8e91bb5
..
81ed7d2
100644
(file)
--- a/
redakcja/xslt/wl2to1.xslt
+++ b/
redakcja/xslt/wl2to1.xslt
@@
-100,7
+100,14
@@
<lista typ="num"><xsl:apply-templates /></lista>
</xsl:when>
<xsl:when test="@class = 'list.definitions'">
<lista typ="num"><xsl:apply-templates /></lista>
</xsl:when>
<xsl:when test="@class = 'list.definitions'">
- <lista typ="slowniczek"><xsl:apply-templates /></lista>
+ <xsl:choose>
+ <xsl:when test="@src = ''">
+ <lista typ="slowniczek"><xsl:apply-templates /></lista>
+ </xsl:when>
+ <xsl:otherwise>
+ <lista typ="slowniczek" src="{@src}"><xsl:apply-templates /></lista>
+ </xsl:otherwise>
+ </xsl:choose>
</xsl:when>
<xsl:when test="@class = 'list.bibliography'">
<lista typ="czytelnia"><xsl:apply-templates /></lista>
</xsl:when>
<xsl:when test="@class = 'list.bibliography'">
<lista typ="czytelnia"><xsl:apply-templates /></lista>