以文本方式查看主题

-  计算机科学论坛  (http://bbs.xml.org.cn/index.asp)
--  『 XSL/XSLT/XSL-FO/CSS 』  (http://bbs.xml.org.cn/list.asp?boardid=8)
----  我编的xsl显示不了xml,请高手帮我改一下,急!  (http://bbs.xml.org.cn/dispbbs.asp?boardid=8&rootid=&id=22683)


--  作者:zon
--  发布时间:9/30/2005 4:38:00 PM

--  我编的xsl显示不了xml,请高手帮我改一下,急!
xml文件如下,怎样编写xsl文件才能使其在IE中正确显示呢?

<?xml version="1.0" encoding="GB2312"?>
<?xml-stylesheet type="text/xsl" href="703.xsl"?>
<form name="703" type="2" bmpname="appBmp1" text="录入产品类别" Width="800" Height="600">
 <listctrl left="22" top="49" right="233" bottom="342" level="0" level_ID="0" HideNum="1" RCLICK="NO" Align="2" Ctrl_ID="8316">
  <types>
   <type>WS_VISIBLE</type>
   <type>LVS_REPORT</type>
   <type>WS_BORDER</type>
  </types>
  <titles>
   <title>ID</title>
   <title>产品类别名</title>
  </titles>
 </listctrl>
 <button text="添加类别" left="633" top="108" right="733" bottom="138" Ctrl_ID="8317">
  <types>
   <type>WS_CHILD</type>
   <type>WS_VISIBLE</type>
  </types>
 </button>
 <static text="输入产品类别名" left="317" top="82" right="434" bottom="102" Ctrl_ID="8318">
  <types>
   <type>WS_CHILD</type>
   <type>WS_VISIBLE</type>
   <type>SS_RIGHT</type>
  </types>
 </static>
 <edit left="322" top="111" right="612" bottom="131" level="0" level_ID="0" Encryption="NO" ExInput="NO" Ctrl_ID="8319">
  <types>
   <type>WS_CHILD</type>
   <type>WS_BORDER</type>
   <type>WS_VISIBLE</type>
  </types>
 </edit>
 <button text="添加产品类别" left="286" top="58" right="747" bottom="162" Ctrl_ID="8320">
  <types>
   <type>WS_CHILD</type>
   <type>WS_VISIBLE</type>
   <type>BS_GROUPBOX</type>
  </types>
 </button>
 <static text="输入新产品类别名" left="315" top="258" right="448" bottom="278" Ctrl_ID="8321">
  <types>
   <type>WS_CHILD</type>
   <type>WS_VISIBLE</type>
   <type>SS_RIGHT</type>
  </types>
 </static>
 <button text="修改产品类别" left="290" top="220" right="743" bottom="339" Ctrl_ID="8322">
  <types>
   <type>WS_CHILD</type>
   <type>WS_VISIBLE</type>
   <type>BS_GROUPBOX</type>
  </types>
 </button>
 <button text="修改类别" left="621" top="281" right="721" bottom="311" Ctrl_ID="8324">
  <types>
   <type>WS_CHILD</type>
   <type>WS_VISIBLE</type>
  </types>
 </button>
 <edit left="311" top="287" right="601" bottom="307" level="0" level_ID="0" Encryption="NO" ExInput="NO" Ctrl_ID="8323">
  <types>
   <type>WS_CHILD</type>
   <type>WS_BORDER</type>
   <type>WS_VISIBLE</type>
  </types>
 </edit>
 <button text="选择修改" left="244" top="214" right="269" bottom="332" Ctrl_ID="8325">
  <types>
   <type>WS_CHILD</type>
   <type>WS_VISIBLE</type>
   <type>BS_MULTILINE</type>
  </types>
 </button>
 <button text="删除类别" left="72" top="347" right="172" bottom="377" Ctrl_ID="8327">
  <types>
   <type>WS_CHILD</type>
   <type>WS_VISIBLE</type>
  </types>
 </button>
 <ATs>
  <AT ReplaceValue="" AT_ID="968" AT_Name="AT139" CTRL_ID="8316" Event_Type="6">
   <Action Action_Type="SET" Status="0" TargetCtrl_Type="12" TargetCtrl="8316" SQL="select Product_Category.Category_Name,Product_Category.Category_ID from Product_Category" TableName="Product_Category" PriKeyWord="-1">
    <Relation>
     <re Field_Seq="0" Ctrl_Seq="1"/>
     <re Field_Seq="1" Ctrl_Seq="0"/>
    </Relation>
    <Conditions/>
   </Action>
  </AT>
  <AT ReplaceValue="" AT_ID="969" AT_Name="AT141" CTRL_ID="8317" Event_Type="1">
   <Validation Type="0" BranchCtrID="-1" BranchCtrType="-1" Message="产品类别名不能为空dfsdf!" TestType="-1" Status="0">
    <Control Type="1">8319</Control>
    <Para1/>
    <Para2/>
   </Validation>
   <Action Action_Type="PUT" Status="0" Auto="YES" All="NO" DeleteOrigin="YES" Remain="NO" TableName="Product_Category" PriKeyWord="Category_ID" Ctrl_Type="-1" Ctrl_ID="-1" SQL="insert into Product_Category (Category_Name,Category_ID) values (replace(8319_1),Auto)"/>
   <Action Action_Type="SET" Status="0" TargetCtrl_Type="12" TargetCtrl="8316" SQL="select Product_Category.Category_Name,Product_Category.Category_ID from Product_Category" TableName="Product_Category" PriKeyWord="-1">
    <Relation>
     <re Field_Seq="0" Ctrl_Seq="1"/>
     <re Field_Seq="1" Ctrl_Seq="0"/>
    </Relation>
    <Conditions/>
   </Action>
  </AT>
  <AT ReplaceValue="" AT_ID="970" AT_Name="AT144" CTRL_ID="8325" Event_Type="1">
   <Action Action_Type="MOVE" DeleteOrigin="NO" All="NO" Status="0" Insert="NO" HideValue="NO" OriginCtrl_Type="12" OriginCtrl="8316" TargetCtrl_Type="-1" TargetCtrl="-1">
    <Relation>
     <re ExprType="-1" Origin="1_12" Target="8323_1"/>
    </Relation>
   </Action>
  </AT>
  <AT ReplaceValue="" AT_ID="971" AT_Name="AT146" CTRL_ID="8324" Event_Type="1">
   <Validation Type="0" BranchCtrID="-1" BranchCtrType="-1" Message="产品类别名不能为空!" TestType="-1" Status="0">
    <Control Type="1">8323</Control>
    <Para1/>
    <Para2/>
   </Validation>
   <Action Action_Type="UPDATE" Auto="NO" Status="0" All="NO" DELORIG="YES" TableName="Product_Category" PriKeyWord="Category_ID" SQL="update Product_Category set Category_Name=replace(8323_1)">
    <Conditions>
     <Condition ReplaceValue="Product_Category.Category_ID=replace(i8316_12,0)" CtrID="-1_-1" DataSet="Product_Category"/>
    </Conditions>
   </Action>
   <Action Action_Type="SET" Status="0" TargetCtrl_Type="12" TargetCtrl="8316" SQL="select Product_Category.Category_Name,Product_Category.Category_ID from Product_Category" TableName="Product_Category" PriKeyWord="-1">
    <Relation>
     <re Field_Seq="0" Ctrl_Seq="1"/>
     <re Field_Seq="1" Ctrl_Seq="0"/>
    </Relation>
    <Conditions/>
   </Action>
  </AT>
  <AT ReplaceValue="" AT_ID="972" AT_Name="AT150" CTRL_ID="8327" Event_Type="1">
   <Action Action_Type="DELETE" All="NO" Status="0" CtrlID="-1" CtrlType="-1" SQL="delete from Product_Category">
    <Conditions>
     <Condition ReplaceValue="Product_Category.Category_ID=replace(i8316_12,0)" CtrID="-1_-1" DataSet="Product_Category"/>
    </Conditions>
   </Action>
   <Action Action_Type="SET" Status="0" TargetCtrl_Type="12" TargetCtrl="8316" SQL="select Product_Category.Category_Name,Product_Category.Category_ID from Product_Category" TableName="Product_Category" PriKeyWord="-1">
    <Relation>
     <re Field_Seq="0" Ctrl_Seq="1"/>
     <re Field_Seq="1" Ctrl_Seq="0"/>
    </Relation>
    <Conditions/>
   </Action>
  </AT>
 </ATs>
</form>



W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
54.688ms