XML technologies / XSL-FO / Reference / Compart XSL extensions / Attributes / document-info-value
(Excerpt from "XSL-FO ― Die Referenz" by Manuel Montero Pineda & Steffen Herkert, 2016, dpunkt.verlag)
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
Category: Dokumentspezifisches Formatting object - cpfo:document-info
Description
This attribute specifies the value of the document information name.
Value | string |
Initial value: | |
Inherited: | no |
XSL-FO example:
<fo:root>
<cpfo:document-info document-info-name="author" document-info-value="Hartwig Vogel"/>
<cpfo:document-info document-info-name="title" document-info-value="DOPE/fo Benutzerhandbuch"/>
<cpfo:document-info document-info-name="subject" document-info-value="DOPE/fo"/>
<cpfo:document-info document-info-name="keywords" document-info-value="XSL-FO, XSLT, XML, XSL"/>
<fo:layout-master-set>
<fo:simple-page-master margin="1cm" page-width="21cm" page-height="29.7cm" master-name="DinA4">
<fo:region-body region-name="xsl-region-body" margin="1cm" border=".1pt solid gray"/>
<fo:region-before region-name="xsl-region-before" extent="1cm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="DinA4">
<fo:static-content flow-name="xsl-region-before">
<fo:block>
Seite: -
<fo:page-number/>
-
</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body" font-size="20pt">
<fo:block linefeed-treatment="preserve">
1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>In the output: