Login   Register  
PHP Classes
elePHPant
Icontem

File: sales5.xml

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Eustaquio Rangel de Oliveira Jr.  >  phpreports  >  sales5.xml  >  Download  
File: sales5.xml
Role: Auxiliary data
Content type: text/plain
Description: XML sample file
Class: phpreports
Report Generator
Author: By
Last change:
Date: 2003-03-13 15:11
Size: 2,560 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE REPORT SYSTEM "PHPReport.dtd">
<REPORT>
   <TITLE>Sales Report</TITLE>
   <BACKGROUND_COLOR>#FFFFFF</BACKGROUND_COLOR>
   <CSS>phpreports.css</CSS>
   <PAGE BORDER="1" SIZE="25" CELLSPACING="0" CELLPADDING="5" WIDTH="500">
      <HEADER>
         <ROW>
            <COL COLSPAN="4" CELLCLASS="PAGE_LAYER" TEXTCLASS="BOLD">John Doe Enterprises</COL>
         </ROW>
         <ROW>
            <COL COLSPAN="4" CELLCLASS="PAGE_LAYER" TEXTCLASS="BOLD">Sales Report</COL>
         </ROW>
      </HEADER>		
      <FOOTER>
         <ROW>
            <COL ALIGN="RIGHT" COLSPAN="3" CELLCLASS="PAGE_LAYER">page total</COL>
            <COL ALIGN="LEFT" NUMBERFORMATEX="2" CELLCLASS="PAGE_LAYER" TEXTCLASS="BOLD" TYPE="EXPRESSION">$this->getSum("value")</COL>
         </ROW>
      </FOOTER>		
   </PAGE>
   <GROUPS>
      <GROUP NAME="citygroup" EXPRESSION="city">
         <HEADER>
            <ROW>
               <COL CELLCLASS="GROUP_LAYER">city:</COL>
               <COL CELLCLASS="GROUP_LAYER" TEXTCLASS="BOLD" TYPE="EXPRESSION" COLSPAN="3">$header->getValue("city")</COL>
            </ROW>
            <ROW>
               <COL CELLCLASS="GROUP_LAYER">id</COL>
               <COL CELLCLASS="GROUP_LAYER">name</COL>
               <COL CELLCLASS="GROUP_LAYER">product</COL>
               <COL CELLCLASS="GROUP_LAYER">$</COL>
            </ROW>
         </HEADER>
         <FOOTER>
            <ROW>
               <COL ALIGN="RIGHT" COLSPAN="3" CELLCLASS="GROUP_LAYER">city total</COL>
               <COL ALIGN="LEFT" CELLCLASS="GROUP_LAYER" TEXTCLASS="BOLD" NUMBERFORMATEX="2" TYPE="EXPRESSION">$this->getSum("value")</COL>
            </ROW>
         </FOOTER>
         <GROUP NAME="customergroup" EXPRESSION="name">
            <FOOTER>
               <ROW>
                  <COL ALIGN="RIGHT" COLSPAN="3" CELLCLASS="GROUP_LAYER">customer total</COL>
                  <COL ALIGN="LEFT" CELLCLASS="GROUP_LAYER" TEXTCLASS="BOLD" NUMBERFORMATEX="2" TYPE="EXPRESSION">$this->getSum("value")</COL>
               </ROW>
            </FOOTER>
            <FIELDS>
               <ROW>
                  <COL CELLCLASS="GROUP_LAYER">id</COL>
                  <COL CELLCLASS="GROUP_LAYER">name</COL>
                  <COL CELLCLASS="GROUP_LAYER">product</COL>
                  <COL CELLCLASS="GROUP_LAYER" NUMBERFORMATEX="2">value</COL>
                  <COL VISIBLE="FALSE">city</COL>
               </ROW>
            </FIELDS>
         </GROUP>
      </GROUP>
   </GROUPS>
</REPORT>