1 <?xml version="1.0" encoding="utf-8"?>
 
   4         This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
 
   5         Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
 
   8 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 
   9         xmlns:wl="http://wolnelektury.pl/functions"
 
  10         xmlns:dc="http://purl.org/dc/elements/1.1/"
 
  11         xmlns="http://www.gribuser.ru/xml/fictionbook/2.0"
 
  12         xmlns:l="http://www.w3.org/1999/xlink">
 
  16         <!-- match poem citations -->
 
  17         <xsl:template mode="para" match="poezja_cyt">
 
  20                                 <xsl:apply-templates mode="para"/>
 
  25         <!-- regular poem elements -->
 
  26         <xsl:template mode="para" match="strofa">
 
  28                         <xsl:apply-templates mode="poem"/>
 
  32         <xsl:template mode="inline" match="strofa">
 
  33                 <xsl:apply-templates select="." mode="para"/>
 
  36         <!-- XXX: it should be done elsewhere but our cheap verse splitting
 
  38         <xsl:template match="motyw" mode="poem"/>
 
  40         <xsl:template mode="poem" match="wers_normalny|wers_cd|wers_wciety|wers_akap|wers_do_prawej">
 
  41                 <v><xsl:apply-templates mode="inline"/></v>