Subject: [xsl] xsl template usage ? From: "sudha rv" <rv_sudha@xxxxxxxxxxx> Date: Wed, 17 Jul 2002 08:21:47 +0000 |
HI everybody, i AM IN NEED OF HELP OF U PEOPLE :( HERE i AM WRITING AN xsl file to convert my xhtml to fo. I want to create a fo table in such format that
<fo:table> <fo:table-column column-width="150pt"/> <fo:table-column column-width="150pt"/> <fo:table-body font-size="10pt" font-family="sans-serif"> <fo:table-row> <fo:table-cell> <fo:block>text</fo:block> </fo:table-cell> <fo:table-cell> <fo:block>text</fo:block> </fo:table-cell> </fo:table-row> <fo:table-row> <fo:table-cell> <fo:block>text</fo:block> </fo:table-cell> <fo:table-cell> <fo:block>text</fo:block> </fo:table-cell> </fo:table-row> <fo:table-row> <fo:table-cell> <fo:block>text</fo:block> </fo:table-cell> <fo:table-cell> <fo:block>text</fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table>
<fo:table-column> and <fo:table-cell>. I can use
<xsl:template match="html:td"> <fo:table-cell xsl:use-attribute-sets="td"> <xsl:call-template name="make-cell" /> </fo:table-cell> </xsl:template>
for defining table-cell.but I cannot use <xsl:template match="html:td">
twice for defining both table-cel and table-column. I tried by using <xsl:foreach> which also didn;t give me the desired output.
thanks sudha
Sudha einsurance Agency AG Information Technology
Germany ---------------------------------------------------------------------- Unless we ask the right questions.. we won't get the right answers ----------------------------------------------------------------------
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Import HTML data into XSL out, abhishek srivastava | Thread | RE: [xsl] xsl template usage ?, Jarno . Elovirta |
Re: [xsl] what is the difference be, Mike Brown | Date | [xsl] how to use xsl template twice, sudha rv |
Month |