test_xsl-fo.xsl 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  3. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  4. exclude-result-prefixes="xs"
  5. version="2.0">
  6. <xsl:output method="xml" indent="yes"/>
  7. <xsl:template match="/">
  8. <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
  9. <fo:layout-master-set>
  10. <fo:simple-page-master master-name="cuda">
  11. <fo:region-body/>
  12. </fo:simple-page-master>
  13. </fo:layout-master-set>
  14. <fo:page-sequence master-reference="cuda">
  15. <fo:flow flow-name="xsl-region-body">
  16. <fo:block>Kolos indyjski asdsa dasd </fo:block>
  17. <fo:block space-after="0.1in">
  18. W roku jakims mieszkancy czegos costasm adsa dasd ad asd asd
  19. </fo:block>
  20. <fo:block space-after="0.1in">
  21. Kolos ten został
  22. </fo:block>
  23. <fo:block>
  24. <fo:external-graphic src="../images/2198_procesy5_tlo.jpg" content-height="3.5in"/>
  25. </fo:block>
  26. </fo:flow>
  27. </fo:page-sequence>
  28. </fo:root>
  29. </xsl:template>
  30. </xsl:stylesheet>