代码改变世界

我的第一篇Xslt的结果

2011-03-14 16:46  闫妍  阅读(156)  评论(0编辑  收藏  举报

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl">
  <xsl:output method="xml" indent="yes" />
  <xsl:template match="/">
    <MultipleDetailPage>
      <Title>
       <xsl:value-of select="//input[@name='=FDAuthorizedRep']/@value" />
      </Title>
      <ListType />
      <ActionState />
      <!--关注-->
      <FocusList>
        <FocusList>
          <FocusItem>
            <Name>合同编号:</Name>
            <Value>
              <xsl:value-of select="//input[@name='FDhtbh']/@value" />
            </Value>
          </FocusItem>
           <FocusItem>
            <Name>合同流水号:</Name>
            <Value>
              <xsl:value-of select="//input[@name='FDhtlsh']/@value" />
            </Value>
          </FocusItem>
          </FocusList>
      </FocusList>
      <!--字段-->
      <FieldList>
        <FieldItem>
          <Name>承办部门</Name>
          <Value>
            <xsl:value-of select="//input[@name='FDcbbm']/@value" />
          </Value>
        </FieldItem>
        <FieldItem>
          <Name>承办人</Name>
          <Value>
            <xsl:value-of select="//input[@name='FDcbr']/@value" />
          </Value>
        </FieldItem>
        <FieldItem>
          <Name>主送</Name>
          <Value>
            <xsl:value-of select="//input[@name='FDzs']/@value" />
          </Value>
        </FieldItem>
    <FieldItem>
          <Name>电话</Name>
          <Value>
            <xsl:value-of select="//input[@name='FDlxdh']/@value" />
          </Value>
        </FieldItem>
        <FieldItem>
          <Name>电话</Name>
          <Value>
            <xsl:value-of select="//input[@name='FDlxdh']/@value" />
          </Value>
        </FieldItem>
        
        <FieldItem>
          <Name>会签部门</Name>
          <Value>
            <xsl:value-of select="//input[@name='FDsigndept']/@value" />
          </Value>
        </FieldItem>
        <FieldItem>
          <Name>我方签约主体</Name>
          <Value>
          </Value>
        </FieldItem>
        <FieldItem>
          <Name>建议授权签约代表</Name>
          <Value>
            <xsl:value-of select="//input[@name='FDSubject']/@value" />
          </Value>
        </FieldItem>
        <FieldItem>
          <Name>对方签约主体全称</Name>
          <Value>
            <xsl:value-of select="//input[@name='FDinputname_1']/@value" />
          </Value>
        </FieldItem>
        <FieldItem>
          <Name>对方资质文件</Name>
          <Value>
            </Value>
        </FieldItem>
        <FieldItem>
          <Name>合同启动依据</Name>
          <Value>
            <xsl:value-of select="//input[@name='FDsmjms']/@value" />
          </Value>
        </FieldItem>
        <FieldItem>
          <Name>其他审签材料</Name>
          <Value>
            </Value>
        </FieldItem>
        <FieldItem>
          <Name>合同金额</Name>
          <Value>
             </Value>
        </FieldItem>
        <FieldItem>
          <Name>合同结算次数及比例</Name>
          <Value>
            <xsl:value-of select="//input[@name='FDhtjs']/@value" />
          </Value>
        </FieldItem>
        <FieldItem>
          <Name>缓急程度</Name>
          <Value>
            <xsl:value-of select="//input[@name='FDjh']/@value" />
          </Value>
        </FieldItem>
        <FieldItem>
          <Name>预算情况</Name>
          <Value>
          </Value>
        </FieldItem>
        <FieldItem>
          <Name>是否招标</Name>
          <Value>
            <xsl:value-of select="//input[@name='FDzb']/@value" />
          </Value>
        </FieldItem>
        <FieldItem>
          <Name>是否关联交易</Name>
          <Value>
            <xsl:value-of select="//input[@name='FDsfgljy']/@value" />
          </Value>
        </FieldItem>
   
       <FieldItem>
          <Name>法律部门
填写项目</Name>
          <Value>
          </Value>
        </FieldItem>

         <FieldItem>
          <Name>履行现状</Name>
          <Value>
          </Value>
        </FieldItem>
        <FieldItem>
          <Name>合同金额及币种</Name>
          <Value>
          </Value>
        </FieldItem>
        <FieldItem>
          <Name>折算人民币总金额</Name>
          <Value>
          </Value>
        </FieldItem>
        <FieldItem>
          <Name>印花税率、税费</Name>
          <Value>
          </Value>
        </FieldItem>
        <FieldItem>
          <Name>是否为变更合同</Name>
          <Value>
          </Value>
        </FieldItem>
        <FieldItem>
          <Name>变更合同财务分类</Name>
          <Value>
          </Value>
        </FieldItem>
         <FieldItem>
          <Name>折算人民币总金额</Name>
          <Value>
          </Value>
        </FieldItem>
         <FieldItem>
          <Name>合同金额变更</Name>
          <Value>
          </Value>
        </FieldItem>
          <FieldItem>
          <Name>财务办结确认</Name>
          <Value>
          
          </Value>
        </FieldItem>
        <FieldItem>
          <Name>合同财务分类</Name>
          <Value>
          
          </Value>
        </FieldItem>
        <FieldItem>
          <Name>印花税缴纳时间</Name>
          <Value>
           
          </Value>
        </FieldItem>
       <FieldItem>
          <Name>原合同相关信息
(变更合同适用)</Name>
          <Value>
          
          </Value>
        </FieldItem>
        <FieldItem>
          <Name>备注说明</Name>
          <Value>
          
          </Value>
        </FieldItem>


      </FieldList>
      <!--意见-->
      <OpinionList>
        <OpinionItem>
          <Name>
            承办部门审核处室负责人意见
          </Name>
          <Value>
            <xsl:value-of select="//input[@name='FDcbcs']/@value" />
          </Value>
        </OpinionItem>
        <OpinionItem>
          <Name>
            承办部门审核部门负责人意见
          </Name>
          <Value>
            <xsl:value-of select="//input[@name='FDcbjl']/@value" />
          </Value>
        </OpinionItem>
        <OpinionItem>
          <Name>相关部门会签</Name>
          <Value>
          </Value>
        </OpinionItem>
        <OpinionItem>
          <Name>承办部门对会签
部门意见的反馈
</Name>
          <Value>
          </Value>
        </OpinionItem>
       <OpinionItem>
          <Name>法律部门审核经办人意见</Name>
          <Value>
            <xsl:value-of select ="//input[@name='FDzhjb']/@value"/>
          </Value>
        </OpinionItem>

        <OpinionItem>
          <Name>法律部门审核处室负责人意见</Name>
          <Value>
            <xsl:value-of select ="//input[@name='FDzhcs']/@value"/>
          </Value>
        </OpinionItem>
        <OpinionItem>
          <Name>法律部门审核复核人意见</Name>
          <Value> 
          </Value>
        </OpinionItem>
        <OpinionItem>
          <Name>法律部门审核部门负责人意见</Name>
          <Value>
          </Value>
        </OpinionItem>
        <OpinionItem>
          <Name>公司领导审批主管业务副总裁审批</Name>
          <Value>
          </Value>
        </OpinionItem>
        <OpinionItem>
          <Name>公司领导审批总裁审批</Name>
          <Value>
          </Value>
        </OpinionItem>
        <OpinionItem>
          <Name>公司领导审批董事长审批及授权</Name>
          <Value>
          </Value>
        </OpinionItem>
        <OpinionItem>
          <Name>合同管理员确认信息</Name>
          <Value>
             <xsl:value-of select ="//input[@name='FDbmgly']/@value"/>
          </Value>
        </OpinionItem>
      </OpinionList>
    </MultipleDetailPage>
  </xsl:template>
</xsl:stylesheet>