poetry_print.xsl
branchstyles
changeset 10 5bba8548413e
parent 6 a59023633201
child 11 e2d28bf2a3bb
equal deleted inserted replaced
9:5ad30cb766bc 10:5bba8548413e
     1 <?xml version="1.0"?>
     1 f<?xml version="1.0"?>
     2 <xsl:stylesheet version="1.1"
     2 <xsl:stylesheet version="1.1"
     3   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     3   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     4   xmlns:xt="http://www.jclark.com/xt"
     4   xmlns:xt="http://www.jclark.com/xt"
     5   extension-element-prefixes="xt" 
     5   extension-element-prefixes="xt" 
     6   xmlns="http://www.w3.org/1999/XSL/Format">
     6   xmlns="http://www.w3.org/1999/XSL/Format">
    12 <xsl:output method="xml" indent="yes"/>
    12 <xsl:output method="xml" indent="yes"/>
    13 
    13 
    14 <xsl:attribute-set name="standard-block">
    14 <xsl:attribute-set name="standard-block">
    15   <xsl:attribute name="text-indent">10mm</xsl:attribute>
    15   <xsl:attribute name="text-indent">10mm</xsl:attribute>
    16   <xsl:attribute name="space-before">10pt</xsl:attribute>
    16   <xsl:attribute name="space-before">10pt</xsl:attribute>
    17   <xsl:attribute name="space-before.conditionnaly">discard</xsl:attribute>
    17   <xsl:attribute name="space-before.conditionality">discard</xsl:attribute>
    18   <xsl:attribute name="text-align">justify</xsl:attribute>
    18   <xsl:attribute name="text-align">justify</xsl:attribute>
    19 </xsl:attribute-set>
    19 </xsl:attribute-set>
    20 
    20 
    21 <xsl:template name="static-content">
    21 <xsl:template name="static-content">
    22   <xsl:param name="title"/>
    22   <xsl:param name="title"/>
   169 </xsl:template>
   169 </xsl:template>
   170 
   170 
   171 <xsl:template match="nda">
   171 <xsl:template match="nda">
   172   <block border="solid" padding="5mm"
   172   <block border="solid" padding="5mm"
   173     font-size="90%" font-style="italic"
   173     font-size="90%" font-style="italic"
   174     space-before="15mm" space-before.conditionnaly="discard"
   174     space-before="15mm" space-before.conditionality="discard"
   175     space-after="15mm" space-after.conditionnaly="discard"
   175     space-after="15mm" space-after.conditionality="discard"
   176     margin="5mm">
   176     margin="5mm">
   177     <xsl:apply-templates/>
   177     <xsl:apply-templates/>
   178   </block>
   178   </block>
   179 </xsl:template>
   179 </xsl:template>
   180 
   180