- From: Di Perna Francesco <fdiperna@documentsolutions.it>
- Date: Thu, 31 May 2001 13:10:28 +0200
- To: www-xsl-fo@w3.org
- Message-Id: <5.0.2.1.0.20010531130907.03cf3d40@pop3.caen.it>
Sure. Is font-family, I just wrote a old examples. Don't work using font-family. I send you an xml and xsl file ,can you test ? Thanks. At 15.44 31/05/01 +0500, you wrote: > > The xsl-fo instruction tha I use is > > <xsl:template match="star"> > > <fo:inline font-style="ZapfDingbats" > > > I > > </fo:inline> > >Should be font-family, not font-style. style is italic, oblique, slanted, >roman. >FOP is innocent. > >Sincerely, >David Tolpin ******************************************************************************* Di Perna Francesco tel. +39-050-970302 Document Solutions s.r.l fax. +39-050-543063 http://www.documentsolutions.it e-mail: fdiperna@documentsolutions.it Document Solutions is an Adobe Authorized Training Centre "There is nothing so powerful as an idea whose time has come" Victor Hugo *******************************************************************************
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:template match ="visite">
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<!-- defines page layout -->
<fo:layout-master-set>
<fo:simple-page-master master-name="simple"
page-height="29.7cm"
page-width="21cm"
margin-top="1cm"
margin-bottom="0.5cm"
margin-left="2cm"
margin-right="2cm">
<fo:region-body margin-top="4cm" margin-bottom="3.25cm" />
<!--fo:region-start extent="1mm"/>
<fo:region-end extent="1mm"/-->
<fo:region-before extent="4cm"/>
<fo:region-after extent="2.75cm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-name="simple">
<fo:static-content flow-name="xsl-region-before">
<fo:table >
<fo:table-column column-width="14cm"/>
<fo:table-column column-width="5cm"/>
<fo:table-body font-size="10pt" font-family="sans-serif">
<fo:table-row line-height="12pt" >
<fo:table-cell >
<fo:block font-size="12pt" font-weight="bold" text-align="center"
font-family="sans-serif"
line-height="10pt"
space-before.optimum="20pt" >
Listing of Surveys, Conditions of Class and Memoranda
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block>
<fo:external-graphic src="file:C:\iplanet\iws41SP5\docs\RinaServlet\LogoRina2.jpg" height="1.95cm" width="1.95cm" content-height="1.95cm" content-width="1.95cm" />
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<fo:block>
<xsl:apply-templates select="head" />
</fo:block>
</fo:static-content>
<fo:static-content flow-name="xsl-region-after">
<fo:table >
<fo:table-column column-number="1" column-width="5.5cm"/>
<fo:table-column column-number="2" column-width="9.5cm"/>
<fo:table-column column-number="3" column-width="3cm"/>
<fo:table-body font-size="7pt" >
<fo:table-row line-height="12pt" >
<fo:table-cell column-number="1" >
<fo:block line-height="8pt" font-size="8pt" >
RINA Societa' per azioni
</fo:block>
<fo:block line-height="8pt" font-size="8pt" >
Gruppo REGISTRO ITALIANO NAVALE
</fo:block>
<fo:block line-height="10pt" >
via Corsica, 12 - 16128 Genova
</fo:block>
<fo:block line-height="8pt" >
Tel. +39 010 53851
</fo:block>
<fo:block line-height="8pt" >
Fax +39 010 5351000
</fo:block>
</fo:table-cell>
<fo:table-cell colunm-number="2" >
<fo:block line-height="8pt" > <fo:inline white-space-collapse="false"> 
</fo:inline> </fo:block>
<fo:block line-height="8pt" > <fo:inline white-space-collapse="false"> 
</fo:inline> </fo:block>
<fo:block line-height="10pt" >
C.F./P. Iva 037941020109
</fo:block >
<fo:block line-height="8pt">
Cap. Soc. Lit. 58.400.000.000 i.v.
</fo:block >
<fo:block line-height="8pt" >
R.I. Genova n. 23602/99
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="3" >
<fo:block line-height="8pt" > <fo:inline white-space-collapse="false"> 
</fo:inline> </fo:block>
<fo:block line-height="8pt" > <fo:inline white-space-collapse="false"> 
</fo:inline> </fo:block>
<fo:block line-height="10pt" > <fo:inline white-space-collapse="false"> 
</fo:inline> </fo:block>
<fo:block text-align="start" line-height="8pt" >
Pag. <fo:page-number/> di <fo:page-number-citation ref-id="last"/>
</fo:block>
<fo:block line-height="8pt" text-align="start" > <xsl:apply-templates select="date" /></fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:block>
<xsl:apply-templates select="body" />
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
</xsl:template>
<xsl:template match="date">
<xsl:value-of select="."/>
</xsl:template>
<xsl:template match="body">
<xsl:apply-templates select="general" />
<xsl:apply-templates select="class" />
<xsl:apply-templates select="certificates" />
<xsl:apply-templates select="notations" />
<xsl:apply-templates select="summary" />
<xsl:apply-templates select="surveys" />
<xsl:apply-templates select="lastpagenum" />
</xsl:template>
<xsl:template match ="ri" >
<fo:table-cell column-number="1" >
<fo:block >
Rina No.
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="2" >
<fo:block font-weight="bold" >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</xsl:template>
<xsl:template match ="name" >
<fo:table-cell column-number="3" >
<fo:block >
Ship's Name
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="4" number-columns-spanned="3" >
<fo:block font-weight="bold">
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</xsl:template>
<xsl:template match ="gt">
<fo:table-cell column-number="1" >
<fo:block >
GT:
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="2" >
<fo:block font-weight="bold">
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</xsl:template>
<xsl:template match ="flag">
<fo:table-cell column-number="3" >
<fo:block >
Flag:
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="4" >
<fo:block font-weight="bold">
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</xsl:template>
<xsl:template match ="lsdate">
<fo:table-cell column-number="5" >
<fo:block >
Last survey date:
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="6" font-weight="bold" >
<fo:block >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</xsl:template>
<xsl:template match ="head">
<fo:table>
<fo:table-column column-number="1" column-width="1.5cm" />
<fo:table-column column-number="2" column-width="1.2cm" />
<fo:table-column column-number="3" column-width="2.2cm" />
<fo:table-column column-number="4" column-width="2.2cm" />
<fo:table-column column-number="5" column-width="3cm" />
<fo:table-column column-number="6" column-width="2.2cm" />
<fo:table-body font-size="10pt"
font-family="sans-serif">
<fo:table-row line-height="12pt">
<xsl:apply-templates select="ri" />
<xsl:apply-templates select="name" />
</fo:table-row>
<fo:table-row line-height="12pt">
<xsl:apply-templates select="gt" />
<xsl:apply-templates select="flag" />
<xsl:apply-templates select="lsdate" />
</fo:table-row>
</fo:table-body>
</fo:table>
</xsl:template>
<xsl:template match = "general" >
<fo:table>
<fo:table-column column-number="1" column-width="3.5cm" />
<fo:table-column column-number="2" column-width="6cm" />
<fo:table-body font-size="10pt"
font-family="sans-serif">
<xsl:apply-templates select="generalitem" />
</fo:table-body>
</fo:table>
</xsl:template>
<!-- " <generalitem>\n"+
" <imo>"+imo+"</imo>\n"+
" <callsign>"+"</callsign>\n"+
" <port>"+portAndNo+"</port>\n"+
" <numreg>"+"</numreg>\n"+
" <dateofbuild>"+birth+"</dateofbuild>\n"+
" <keellaid>"+keel+"</keellaid>\n"+
" <itonnage>"+iTonnage+"</itonnage>\n"+
" <ntonnage>"+nTonnage+"</ntonnage>\n"+
" <deadweight>"+deadWeight+"</deadweight>\n"+
" <classsymbol>"+classSymbol+"</classsymbol>\n"+
" <category>"+category+"</category>\n"+
" <servicenotation>"+"</servicenotation>\n"+
" <navignotation>"+navigationNotation+"</navignotation>\n"+
" </generalitem>\n"+
-->
<xsl:template match="generalitem">
<xsl:apply-templates select="imo" />
<xsl:apply-templates select="callsign" />
<xsl:apply-templates select="port" />
<xsl:apply-templates select="numreg" />
<xsl:apply-templates select="dateofbuild" />
<xsl:apply-templates select="keellaid" />
<xsl:apply-templates select="itonnage" />
<xsl:apply-templates select="ntonnage" />
<xsl:apply-templates select="deadweight" />
<xsl:apply-templates select="classsymbol" />
<xsl:apply-templates select="category" />
<xsl:apply-templates select="servicenotation" />
<xsl:apply-templates select="navignotation" />
</xsl:template>
<xsl:template match="imo">
<fo:table-row line-height="12pt">
<fo:table-cell column-number="1" >
<fo:block >
IMO No.:
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="2" font-weight="bold" >
<fo:block >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:template>
<xsl:template match="callsign">
<fo:table-row line-height="12pt">
<fo:table-cell column-number="1" >
<fo:block >
Call Sign:
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="2" font-weight="bold" >
<fo:block >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:template>
<xsl:template match="port">
<fo:table-row line-height="12pt">
<fo:table-cell column-number="1" >
<fo:block >
Port of Registry-No.:
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="2" font-weight="bold" >
<fo:block >
<xsl:value-of select="."/> - <xsl:apply-templates select="numreg" />
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:template>
<xsl:template match="numreg">
<xsl:value-of select="."/>
</xsl:template>
<xsl:template match="dateofbuild">
<fo:table-row line-height="12pt">
<fo:table-cell column-number="1" >
<fo:block >
Date of build:
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="2" font-weight="bold" >
<fo:block >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:template>
<xsl:template match="keellaid">
<fo:table-row line-height="12pt">
<fo:table-cell column-number="1" >
<fo:block >
Keel Laid:
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="2" font-weight="bold" >
<fo:block >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:template>
<xsl:template match="itonnage">
<fo:table-row line-height="12pt">
<fo:table-cell column-number="1" >
<fo:block >
Intl Tonnage:
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="2" font-weight="bold" >
<fo:block >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:template>
<xsl:template match="ntonnage">
<fo:table-row line-height="12pt">
<fo:table-cell column-number="1" >
<fo:block >
National Tonnage:
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="2" font-weight="bold" >
<fo:block >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:template>
<xsl:template match="deadweight">
<fo:table-row line-height="12pt">
<fo:table-cell column-number="1" >
<fo:block >
Deadweight:
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="2" font-weight="bold" >
<fo:block >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:template>
<xsl:template match="classsymbol">
<fo:table-row line-height="12pt">
<fo:table-cell column-number="1" >
<fo:block >
Main Class Symbol:
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="2" font-weight="bold" >
<fo:block >
<xsl:apply-templates select="star" />
<xsl:apply-templates select="maltese" />
<xsl:apply-templates select="umaltese" />
<xsl:apply-templates select="bullet" />
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:template>
<xsl:template match="star">
<fo:inline font-family="ZapfDingbats" >
I
</fo:inline>
</xsl:template>
<xsl:template match="bullet">
<fo:inline font-style="ZapfDingbats" >
I
</fo:inline>
</xsl:template>
<xsl:template match="maltese">
<fo:inline text-decoration="underline" font-style="ZapfDingbats" >
I
</fo:inline>
</xsl:template>
<xsl:template match="umaltese">
<fo:inline font-style="ZapfDingbats" >
I
</fo:inline>
</xsl:template>
<xsl:template match="category">
<fo:table-row line-height="12pt">
<fo:table-cell column-number="1" >
<fo:block >
Category:
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="2" font-weight="bold" >
<fo:block >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:template>
<xsl:template match="servicenotation">
<fo:table-row line-height="12pt">
<fo:table-cell column-number="1" >
<fo:block >
Service Notation:
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="2" font-weight="bold" >
<fo:block >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:template>
<xsl:template match="navignotation">
<fo:table-row line-height="12pt">
<fo:table-cell column-number="1" >
<fo:block >
Navigation Notation:
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="2" font-weight="bold" >
<fo:block >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:template>
<xsl:template match="certificates" >
<fo:table space-before.optimum="20pt" border-color="black" border-style="solid" border-width="0.1pt" font-size="8pt" >
<fo:table-column column-number="1" column-width="70mm" />
<fo:table-column column-number="2" column-width="15mm" />
<fo:table-column column-number="3" column-width="15mm" />
<fo:table-column column-number="4" column-width="15mm" />
<fo:table-column column-number="5" column-width="15mm" />
<fo:table-column column-number="6" column-width="22mm" />
<fo:table-column column-number="7" column-width="22mm" />
<fo:table-header font-size="8pt" >
<fo:table-row line-height="12pt" >
<fo:table-cell column-number="1" number-columns-spanned="7" border-bottom="0.1pt solid black" >
<fo:block text-align="center" font-weight="bold" >
CLASS AND STATUTORY CERTIFICATES
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row line-height="12pt" border-width="5mm">
<fo:table-cell column-number="1" border-bottom="0.1pt solid black" border-right="0.1pt solid black" >
<fo:block text-align="center" >
TITLE
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="2" border-bottom="0.1pt solid black" border-right="0.1pt solid black" >
<fo:block text-align="center" >
REMARKS
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="3" border-bottom="0.1pt solid black" border-right="0.1pt solid black" >
<fo:block text-align="center" >
STATUS
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="4" border-bottom="0.1pt solid black" border-right="0.1pt solid black" >
<fo:block text-align="center" >
ABBREV
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="5" border-bottom="0.1pt solid black" border-right="0.1pt solid black" >
<fo:block text-align="center" >
PERIOD
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="6" border-bottom="0.1pt solid black" border-right="0.1pt solid black" >
<fo:block text-align="center" >
ISSUED
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="7" border-bottom="0.1pt solid black" >
<fo:block text-align="center" >
EXPIRES
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-header>
<fo:table-body font-size="8pt" font-family="sans-serif" >
<xsl:apply-templates select="certifitem" />
</fo:table-body>
</fo:table>
</xsl:template>
<xsl:template match="certifitem" >
<fo:table-row line-height="12pt">
<xsl:apply-templates select="title" />
<xsl:apply-templates select="remarks" />
<xsl:apply-templates select="status" />
<xsl:apply-templates select="abbrev" />
<xsl:apply-templates select="period" />
<xsl:apply-templates select="issued" />
<xsl:apply-templates select="expires" />
</fo:table-row>
</xsl:template>
<xsl:template match="title">
<fo:table-cell column-number="1" >
<fo:block text-align="start" font-weight="bold" >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</xsl:template>
<xsl:template match="remarks">
<fo:table-cell column-number="2" >
<fo:block text-align="end" >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</xsl:template>
<xsl:template match="status">
<fo:table-cell column-number="3" >
<fo:block text-align="center" >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</xsl:template>
<xsl:template match="abbrev">
<fo:table-cell column-number="4" >
<fo:block text-align="center" >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</xsl:template>
<xsl:template match="period">
<fo:table-cell column-number="5" >
<fo:block text-align="center" >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</xsl:template>
<xsl:template match="issued">
<fo:table-cell column-number="6" >
<fo:block text-align="center" font-weight="bold" >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</xsl:template>
<xsl:template match="expires">
<fo:table-cell column-number="7" >
<fo:block text-align="center" font-weight="bold" >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</xsl:template>
<xsl:template match = "class" >
<fo:table space-before.optimum="20pt" >
<fo:table-column column-number="1" column-width="6.5cm" />
<fo:table-column column-number="2" column-width="6cm" />
<fo:table-body font-size="10pt"
font-family="sans-serif">
<xsl:apply-templates select="item" />
</fo:table-body>
</fo:table>
</xsl:template>
<xsl:template match="item">
<fo:table-row line-height="12pt">
<xsl:apply-templates select="label" />
<xsl:apply-templates select="value" />
</fo:table-row>
</xsl:template>
<xsl:template match="label">
<fo:table-cell column-number="1" >
<fo:block >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</xsl:template>
<xsl:template match="value">
<fo:table-cell column-number="1" font-weight="bold" >
<fo:block >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</xsl:template>
<xsl:template match = "notations" >
<fo:table space-before.optimum="20pt" border="0.1pt solid black" >
<fo:table-column column-width="2.36in" />
<fo:table-column column-width="4.49in" />
<fo:table-header font-size="8pt">
<fo:table-row line-height="12pt" >
<fo:table-cell column-number="1" number-columns-spanned="2" border-bottom="0.1pt solid black" >
<fo:block text-align="center" font-weight="bold">
SUSPENDED NOTATIONS
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row line-height="12pt" border-width="5mm">
<fo:table-cell column-number="1" border-bottom="0.1pt solid black" >
<fo:block text-align="center" >
NOTATION
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="2" border-bottom="0.1pt solid black" >
<fo:block text-align="center" >
DESCRIPTION
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-header>
<fo:table-body font-size="8pt" font-family="sans-serif" >
<xsl:apply-templates select="notationitem" />
</fo:table-body>
</fo:table>
</xsl:template>
<xsl:template match="notationitem">
<fo:table-row line-height="12pt">
<xsl:apply-templates select="notation" />
<xsl:apply-templates select="description" />
</fo:table-row>
</xsl:template>
<xsl:template match="notation">
<fo:table-cell column-number="1" font-weight="bold" >
<fo:block text-align="center" >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</xsl:template>
<xsl:template match="description">
<fo:table-cell column-number="2" font-weight="bold" >
<fo:block >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</xsl:template>
<xsl:template match = "summary" >
<fo:table space-before.optimum="20pt" border="0.1pt solid black" >
<fo:table-column column-number="1" column-width="6cm" />
<fo:table-column column-number="2" column-width="11.4cm" />
<fo:table-header font-size="8pt" >
<fo:table-row line-height="14pt" >
<fo:table-cell column-number="1" number-columns-spanned="2" border-bottom="0.1pt solid black" >
<fo:block text-align="center" font-weight="bold" >
SUMMARY TABLE
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-header>
<fo:table-body font-size="8pt" font-family="sans-serif" >
<xsl:apply-templates select="item" />
</fo:table-body>
</fo:table>
</xsl:template>
<xsl:template match="surveys" >
<fo:table space-before.optimum="20pt" border="black solid 0.1pt" font-size="8pt" >
<fo:table-column column-number="1" column-width="5.8cm" />
<fo:table-column column-number="2" column-width="2cm" />
<fo:table-column column-number="3" column-width="2cm" />
<fo:table-column column-number="4" column-width="2cm" />
<fo:table-column column-number="5" column-width="3.6cm" />
<fo:table-column column-number="6" column-width="2cm" />
<fo:table-header font-size="8pt" >
<fo:table-row line-height="12pt" >
<fo:table-cell column-number="1" number-columns-spanned="6" border-bottom="0.1pt solid black" >
<fo:block text-align="center" font-weight="bold" >
SURVEYS STATUS
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row line-height="12pt" border-width="5mm">
<fo:table-cell column-number="1" border-bottom="0.1pt solid black" border-right="0.1pt solid black" >
<fo:block text-align="center" >
SURVEYS TYPE
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="2" border-bottom="0.1pt solid black" border-right="0.1pt solid black" >
<fo:block text-align="center" >
REMARKS
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="3" border-bottom="0.1pt solid black" border-right="0.1pt solid black" >
<fo:block text-align="center" >
LAST DATE
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="4" border-bottom="0.1pt solid black" border-right="0.1pt solid black" >
<fo:block text-align="center" >
DUE DATE
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="5" border-bottom="0.1pt solid black" border-right="0.1pt solid black" >
<fo:block text-align="center" >
RANGE DATES
</fo:block>
</fo:table-cell>
<fo:table-cell column-number="6" border-bottom="0.1pt solid black" >
<fo:block text-align="center" >
STATUS
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-header>
<fo:table-body font-size="8pt" font-family="sans-serif">
<xsl:apply-templates select="surveysitem" />
</fo:table-body>
</fo:table>
</xsl:template>
<xsl:template match="surveysitem">
<fo:table-row line-height="12pt">
<xsl:apply-templates select="type" />
<xsl:apply-templates select="remarks" />
<xsl:apply-templates select="lastdate" />
<xsl:apply-templates select="duedate" />
<xsl:apply-templates select="range" />
<xsl:apply-templates select="status" />
</fo:table-row>
</xsl:template>
<xsl:template match="surveysitem/type">
<fo:table-cell column-number="1" font-weight="bold" border-right="0.1pt solid black" >
<fo:block text-align="start" >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</xsl:template>
<xsl:template match="surveysitem/remarks">
<fo:table-cell column-number="2" border-right="0.1pt solid black" >
<fo:block text-align="center" >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</xsl:template>
<xsl:template match="surveysitem/lastdate">
<fo:table-cell column-number="3" font-weight="bold" border-right="0.1pt solid black" >
<fo:block text-align="center" >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</xsl:template>
<xsl:template match="surveysitem/duedate">
<fo:table-cell column-number="4" font-weight="bold" border-right="0.1pt solid black" >
<fo:block text-align="center" >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</xsl:template>
<xsl:template match="surveysitem/range">
<fo:table-cell column-number="5" font-weight="bold" border-right="0.1pt solid black" >
<fo:block text-align="center" >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</xsl:template>
<xsl:template match="surveysitem/status">
<fo:table-cell column-number="6" font-weight="bold" >
<fo:block text-align="center" >
<xsl:value-of select="."/>
</fo:block>
</fo:table-cell>
</xsl:template>
<xsl:template match="lastpagenum">
<fo:block id="last" >
</fo:block>
</xsl:template>
</xsl:stylesheet>
Attachments
- application/xml attachment: visite.xml
Received on Thursday, 31 May 2001 07:03:25 UTC