Subject: XSL and HTML Table From: "Gianluca Legittimo" <g_legittimo@xxxxxxxxxxx> Date: Thu, 09 Sep 1999 04:19:45 PDT |
<?xml version="1.0"?> <xsl:stylesheet xmlns:xsl='http://www.w3.org/TR/WD-xsl'> <xsl:template > <xsl:apply-templates/> </xsl:template> <xsl:template match='/'> <HTML> <BODY STYLE="background-color=#EEEFFF"> <xsl:for-each select="DOCUMENT/PFRAME/BLOCK"> <TABLE WIDTH="100%" border="1" > <TR> <TD WIDTH="2%"></TD> <TD WIDTH="97%"> <hr/> <P ALIGN="CENTER"> <FONT SIZE="4"> <xsl:value-of select="Title"/> </FONT> </P> <hr/> </TD> <TD></TD> </TR> </TABLE> ...
<TABLE border="1" WIDTH="100%"> <TR>
<TD border="1" WIDTH="35%" VALIGN="TOP"> <P ALIGN="CENTER"> <FONT SIZE="2"> <xsl:value-of select="AUTHORS"/>
<xsl:choose> <xsl:when test='*[@pos="zero"]'> <xsl:apply-templates select="text()"/> </xsl:when> </xsl:choose>
</FONT> </P> </TD>
<TD></TD> <TD border="1" WIDTH="35%" VALIGN="TOP"> <P ALIGN="CENTER"> <FONT SIZE="2"> <xsl:value-of select="AUTHORS"/>
<xsl:choose> <xsl:when test='*[@pos="uno"]'> <xsl:apply-templates select="text()"/> </xsl:when> </xsl:choose>
</FONT> </P>
</TR> </TABLE>
______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: "starts-with" and "contains" in, Richard Heim | Thread | Re: XSL and HTML Table, Miloslav Nic |
Re: XSL-FO tools/processors, zun | Date | text colors in FO, Hernan Eguiluz |
Month |