Commit dc5176dc by Patryk Czarnik

Próba naprawienia błędów z XML i PDF

parent ae50d112
......@@ -35,7 +35,12 @@
<groupId>org.apache.xmlgraphics</groupId>
<artifactId>fop</artifactId>
<version>2.11</version>
<exclusions>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
......
......@@ -24,8 +24,13 @@
</fo:root>
</xsl:template>
<xsl:template match="products">
<fo:block font-weight="bold" font-size="14pt">Lista produktów (<xsl:value-of select="count(product)"/> elementów)</fo:block>
</xsl:template>
<xsl:template match="product">
<fo:block-container space-before.minimum="0.5em"
<fo:block-container id="product_{@id}"
space-before.minimum="0.5em"
page-break-inside="avoid">
<fo:block>
<xsl:text>Produkt nr </xsl:text>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment