Najlepszy samouczek XSL-FO Formularz W 2024 r. W tym samouczku możesz dowiedzieć się
XSL-FO tabeli (tabelach),
XSL-FO Formularz
XSL-FO używając <fo: table-i-podpisie> elementu w celu określenia formy.
XSL-FO tabeli (tabelach)
XSL-FO modelu stół z modelu tabeli HTML nie jest zupełnie inna.
Istnieje dziewięć XSL-FO obiekty wykorzystywane do tworzenia tabeli:
- fo: table-i-podpisie
- fo: stół
- fo: table-podpisie
- fo: table-column
- fo: table-header
- fo: table-footer
- fo: table-ciałem
- fo: table-row
- fo: table-cell
XSL-FO używając<fo: table-i-podpisie > elementu w celu określenia formy.Zawiera<fo: table> i opcjonalny <fo: podpisie>elementem.
<Fo: table> element zawiera opcjonalny<fo: table-column> element opcjonalny <fo: table-header>elementu, a<fo: table-body>,opcjonalny<fo: table -footer>elementem. Każdy z tych elementów może mieć jeden lub więcej<fo: table-row> Elementy <fo: table-row>będzie również mieć jedną lub więcej<fo: table-cell>Element:
<fo:table-and-caption>
<fo:table>
<fo:table-column column-width="25mm"/>
<fo:table-column column-width="25mm"/>
<fo:table-header>
<fo:table-row>
<fo:table-cell>
<fo:block font-weight="bold">Car</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block font-weight="bold">Price</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-header>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block>Volvo</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block>$50000</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:block>SAAB</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block>$48000</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:table-and-caption>
Wyjście kodu powyżej są następujące:
samochód | cena |
---|
Volvo | $ 50000 |
SAAB | $ 48.000 |