?? - XSL-FO XHTML - ?U
| |
</td></tr>
<tr><td><img height="1" width...
<tr><td align="left"><font size="-1">??200212...
<td align="center"><font size="-1"></font></td>
<td align="right"><font size="-1">
[ <a href="../">?</a> | <a href="help.html"></a> |...
</font></td></tr>
<tr><td aligh="left" colspan="3"><font size="-1"><b>
?? - XSL-FO XHTML - XSL-FO </b></font></td>...
</table>
</td></tr>
</table>
</td>
<td width="1" rowSpan="1"><img height="100%" width="1" ...
<tr><td colSpan="3" height="1"><img height="1" ...
</table>
</td>
<td></td></tr>
<tr><td>
...
</td></tr>
</table>
</body></html>
?:
- meta?J?u?U?a
- class CSS XSL ???
- id= *.xhtml ½???
- ??l? toc.xhtml l
- XML encoding="gb2312" ??
- HTML charset="gb2312" ???
CSS l
? CSS l (book.css) ???????j?
A {
LINK-COLOR: green;
VISITED-COLOR: mediumblue;
ACTIVE-COLOR: red;
HOVER-COLOR: black
}
BODY {
BACKGROUND-COLOR: #707070;
FONT-FAMILY: times new roman ;
MARGIN-TOP: 0pt;
MARGIN-BOTTOM: 0pt;
MARGIN-LEFT: 0pt;
MARGIN-RIGHT: 0pt
}
P {
margin-left: 0pt;
margin-right: 0pt;
FONT-FAMILY: times new roman
}
P.book_title {
FONT-FAMILY: times new roman ;
font-weight: bold;
font-size: 22pt;
COLOR: black
}
P.chapter_title {
FONT-FAMILY: times new roman ;
font-weight: bold;
font-size: 18pt;
COLOR: black
}
P.section_title {
FONT-FAMILY: times new roman ;
font-weight: bold;
font-size: 14pt;
COLOR: black
}
PRE.block_bold {
FONT-FAMILY: new bagman ;
font-weight: bold;
BACKGROUND-COLOR: #d0d0d0;
MARGIN-TOP: 4px;
MARGIN-LEFT: 0px;
MARGIN-RIGHT: 0px;
MARGIN-BOTTOM: 4px;
BORDER: 10px;
COLOR: black;
PADDING: 5px;
WIDTH: 600px
}
PRE.block_source {
FONT-FAMILY: new bagman ;
BACKGROUND-COLOR: #d0d0d0;
MARGIN-TOP: 4px;
MARGIN-LEFT: 0px;
MARGIN-RIGHT: 0px;
MARGIN-BOTTOM: 4px;
BORDER: 10px;
COLOR: black;
PADDING: 5px;
WIDTH: 600px
}
|
margin, color, family, times, roman, width, xhtml, height, weight, table, title, background, align, , font family, font size, < font, family times, times new, new roman, weight bold, 0pt margin, font weight, margin right, 0px margin, table <, < table, margin left, bold font, roman font, margin bottom, font <, < img, margin top, background color, font family times, < font size, font weight bold, new roman font, weight bold font, bold font size, roman font weight, 4px border 10px, border 10px color, color black padding, 0px margin bottom, 10px color black, background color d0d0d0, 0pt margin right, color d0d0d0 margin, 4px margin left, 0px margin right, |
Also see ...
PRE.block_syntax { FONT FAMILY: new bagman ; font style: italic; BACKGROUND COLOR: d0d0d0; MARGIN TOP: 4px; MARGIN LEFT: 0px; MARGIN RIGHT: 0px; MARGIN BOTTOM: 4px; BORDER: 10px; COLOR: black;
<fo:root <fo:layout master set <fo:simple page master master name="page" margin left="1.2in" margin right="0.8in" margin top="0.8in" margin bottom="0.8in" <fo:region before region name="header" exten
<xsl:template match="p[@class= section_title ]" <fo:block font size="125%" font weight="bold" space before="9pt" space after="4pt" <xsl:apply templates select="text()"/ </fo:block </xsl:template
</td<td width="1" rowSpan="1"<img height="100%" width="1" ...<tr<td colSpan="3" height="1"<img height="1" ...</table</td<td</td</tr<tr<td
TD.body { PADDING TOP: 25px; PADDING BOTTOM: 25px}TD.frame_top { BORDER WIDTH: 0pt; BACKGROUND COLOR: 707070; WIDTH: 750px; HEIGHT: 50px; TEXT ALIGN: center}TD.frame
<fo:list item body <fo:block font weight="normal" text align="end" </fo:block </fo:list item body </fo:list item </fo:list block </fo:block </fo
?o XSL FOXSL FO?? XML ???U?L??? XML ????U?XSL FO ? TeX ?? TeX ?j????U??XSL FO ???XSL FO XML ??XSL
XSL FO lU .txt l???? hello.fo U? .txt ?? run_fop fo hello.fo txt hello.txtoµ? Using org.apache.xerces.parsers.SAXParser as S
XSL FO Archetype simple_page.foLet s administer what we accept abstruse so far to make a simple XSL FO examplefile to allegorize how to handle some basal formatting appearance like: page margin,
XSL FO Book StructureSince XSL FO files are accounting in XML, all statements are organized into an XML tree structure. Actuality is the syntax of the top akin of the tree:<f