Subject: RE: [xsl] xsl template usage ? From: Jarno.Elovirta@xxxxxxxxx Date: Wed, 17 Jul 2002 11:40:10 +0300 |
Hi, > 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 [snip] > I have an htm table. now I need to interpret <td> for making tags > > <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. It would help us if you showed us the stylesheet that used xsl:for-each. Anyhow, use modes <http://www.w3.org/TR/xslt#modes> to define multiple templates with the same match pattern. Cheers, Santtu XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] xsl template usage ?, sudha rv | Thread | RE: [xsl] xsl template usage ?, sudha rv |
Re: [xsl] Non-well-formed HTML in X, David Carlisle | Date | Re: [xsl] Non-well-formed HTML in X, Mike Brown |
Month |