XSL-FO పట్టిక
- పూర్వ పేజీ XSLFO జాబితా
- తదుపరి పేజీ XSLFO మరియు XSLT
XSL-FO పట్టికను నిర్వచించడానికి <fo:table-and-caption> అంశాన్ని ఉపయోగిస్తుంది.
XSL-FO పట్టిక
XSL-FO పట్టిక మోడల్ HTML పట్టిక మోడల్తో చాలా వ్యత్యాసం ఉంది.
పట్టికను సృష్టించడానికి ఉపయోగించే నాలుగు XSL-FO ఆబ్జెక్ట్లు ఉన్నాయి:
- fo:table-and-caption
- fo:table
- fo:table-caption
- fo:table-column
- fo:table-header
- fo:table-footer
- fo:table-body
- fo:table-row
- fo:table-cell
XSL-FO ఉపయోగిస్తుంది <fo:table-and-caption> పట్టికను నిర్వచించడానికి XSL-FO ఉపయోగిస్తుంది. ఇది ఒక అంశాన్ని కలిగి ఉంటుంది. <fo:table> మరియు ఒక ఎంపికాబల్ది అంశం ఉంది. <fo:caption> అంశం.
<fo:table> కాలం అందరు కలిగి ఉంటాయి:
- ఎంపికాత్మక <fo:table-column> కాలం
- ఎంపికాత్మక <fo:table-header> కాలం
- <fo:table-body> కాలం
- ఎంపికాత్మక <fo:table-footer> కాలం
ఈ కాలాలలో ప్రతి ఒక్కదానికి ఒకటి లేదా కన్నా ఎక్కువ కాలం ఉంటుంది <fo:table-row> కాలం ఉంటుంది <fo:table-row> అలాగే ఒకటి లేదా కన్నా ఎక్కువ కాలం ఉంటుంది <fo:table-cell> కాలం:
<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>
ఈ కోడ్కు ఉపయోగపడే అవుట్పుట్ కింది విధంగా ఉంటుంది:

- పూర్వ పేజీ XSLFO జాబితా
- తదుపరి పేజీ XSLFO మరియు XSLT