PHP Classes

File: PHPReportTable.xsl

Recommend this page to a friend!
  Classes of Eustaquio Rangel de Oliveira Jr.  >  phpreports  >  PHPReportTable.xsl  >  Download  
File: PHPReportTable.xsl
Role: Auxiliary data
Content type: text/plain
Description: Table layer transformation
Class: phpreports
Report Generator
Author: By
Last change:
Date: 19 years ago
Size: 1,324 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- Used to get all the properties from a element that its a HTML table tag, and generate it all in a row. Use this template to format ALL your elements with HTML table tags inside, and set all the properties here --> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template name="MAKE_TABLE_CONFIG"> <xsl:if test="string-length(@BORDER)>0"> <xsl:text>border='</xsl:text> <xsl:value-of select="@BORDER"/> <xsl:text>' </xsl:text> </xsl:if> <xsl:if test="string-length(@HEIGHT)>0"> <xsl:text>height='</xsl:text> <xsl:value-of select="@HEIGHT"/> <xsl:text>' </xsl:text> </xsl:if> <xsl:if test="string-length(@WIDTH)>0"> <xsl:text>width='</xsl:text> <xsl:value-of select="@WIDTH"/> <xsl:text>' </xsl:text> </xsl:if> <xsl:if test="string-length(@ALIGN)>0"> <xsl:text>align='</xsl:text> <xsl:value-of select="@ALIGN"/> <xsl:text>' </xsl:text> </xsl:if> <xsl:if test="string-length(@CELLPADDING)>0"> <xsl:text>cellpadding='</xsl:text> <xsl:value-of select="@CELLPADDING"/> <xsl:text>' </xsl:text> </xsl:if> <xsl:if test="string-length(@CELLSPACING)>0"> <xsl:text>cellspacing='</xsl:text> <xsl:value-of select="@CELLSPACING"/> <xsl:text>' </xsl:text> </xsl:if> </xsl:template> </xsl:stylesheet>