~technofluid-team/openobject-addons/technofluid_multiple_installations

« back to all changes in this revision

Viewing changes to network/report/network_list.xsl

  • Committer: pinky
  • Date: 2006-12-07 13:41:40 UTC
  • Revision ID: pinky-dedd7f8a42bd4557112a0513082691b8590ad6cc
New trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<xsl:stylesheet version="1.0"
 
3
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 
4
        xmlns:fo="http://www.w3.org/1999/XSL/Format">
 
5
 
 
6
        <xsl:import href="../../custom/corporate_defaults.xsl"/>
 
7
        <xsl:import href="../../base/report/rml_template.xsl"/>
 
8
        <xsl:variable name="page_format">a4_normal</xsl:variable>
 
9
 
 
10
        <xsl:template name="stylesheet">
 
11
                <blockTableStyle id="network_list">
 
12
                        <blockFont name="Helvetica-BoldOblique" size="12"
 
13
                                start="0,0" stop="-1,0"/>
 
14
                        <blockBackground colorName="yellow" start="0,0" stop="-1,0"/>
 
15
                        <blockValign value="TOP"/>
 
16
                </blockTableStyle>
 
17
        </xsl:template>
 
18
 
 
19
        <xsl:template name="first_page_frames">
 
20
                <frame id="main" x1="1cm" y1="3.5cm" width="19.0cm" height="21.5cm" />
 
21
        </xsl:template>
 
22
 
 
23
        <xsl:template match="/">
 
24
                <xsl:call-template name="rml"/>
 
25
        </xsl:template>
 
26
 
 
27
        <xsl:template name="story">
 
28
                <blockTable colWidths="5cm,5cm,5cm" style="network_list">
 
29
                        <tr>
 
30
                                <td t="1">Partner</td>
 
31
                                <td t="1">Network name</td>
 
32
                                <td t="1">Onsite contact</td>
 
33
                        </tr>
 
34
                        <xsl:for-each select="/networks/network">
 
35
                                <tr>
 
36
                                        <td>
 
37
                                                <xsl:value-of select="partner/name" />
 
38
                                        </td>
 
39
                                        <td>
 
40
                                                <xsl:value-of select="network-name" />
 
41
                                        </td>
 
42
                                        <td>
 
43
                                                <xsl:value-of select="onsite/name" />
 
44
                                        </td>
 
45
                                </tr>
 
46
                        </xsl:for-each>
 
47
                </blockTable>
 
48
                <xsl:apply-templates select="networks"/>
 
49
        </xsl:template>
 
50
 
 
51
</xsl:stylesheet>
 
52