Project

General

Profile

« Previous | Next » 

Revision 1653

Added by Jing Tao about 21 years ago

Add some new tempaltes.

View differences:

lib/style/eml2/eml-physical-2.0.0.xsl
34 34
  <xsl:output method="html" encoding="iso-8859-1"/>
35 35

  
36 36
   <xsl:template name="physical">
37
      <xsl:param name="docid"/>
38
      <xsl:param name="level">entity</xsl:param>
39
      <xsl:param name="entitytype"/>
40
      <xsl:param name="entityindex"/>
41
      <xsl:param name="physicalindex"/>
42
      <xsl:param name="distributionindex"/>
37 43
      <xsl:param name="physicalfirstColStyle"/>
38 44
      <xsl:param name="notshowdistribution"/>
39 45
      <table class="tabledefault" width="100%">
......
61 67
  <xsl:template name="physicalcommon">
62 68
    <xsl:param name="physicalfirstColStyle"/>
63 69
    <xsl:param name="notshowdistribution"/>
70
    <xsl:param name="docid"/>
71
    <xsl:param name="level">entity</xsl:param>
72
    <xsl:param name="entitytype"/>
73
    <xsl:param name="entityindex"/>
74
    <xsl:param name="physicalindex"/>
75
    <xsl:param name="distributionindex"/>
76
    
64 77
    <xsl:call-template name="physicalobjectName">
65 78
      <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
66 79
    </xsl:call-template>
......
89 102
      <xsl:with-param name="physicalfirstColStyle" select="$physicalfirstColStyle"/>
90 103
    </xsl:call-template>
91 104
    <xsl:if test="$notshowdistribution=''">
92
      <xsl:call-template name="distribution">
93
       <xsl:with-param name="disfirstColStyle" select="$physicalfirstColStyle"/>
94
       <xsl:with-param name="dissubHeaderStyle" select="$physicalsubHeaderStyle"/>
95
    </xsl:call-template>
105
      <xsl:for-each select="distribution">
106
        <xsl:call-template name="distribution">
107
          <xsl:with-param name="disfirstColStyle" select="$physicalfirstColStyle"/>
108
          <xsl:with-param name="dissubHeaderStyle" select="$physicalsubHeaderStyle"/>
109
          <xsl:param name="docid" select="$docid"/>
110
          <xsl:param name="level">entitylevel</xsl:param>
111
          <xsl:param name="entitytype" select="$entitytype"/>
112
          <xsl:param name="entityindex" select="$entityindex"/>
113
          <xsl:param name="physicalindex" select="$physicalindex"/>
114
          <xsl:param name="distributionindex" select="position()"/>
115
        </xsl:call-template>
116
      </xsl:for-each>
96 117
    </xsl:if>
118
   
97 119
  </xsl:template>
98 120
  
99 121
  <xsl:template name="physicalobjectName">

Also available in: Unified diff