本页为历史存档快照(游客可见内容)· 原站已关闭 · 登录/发帖/回复等交互功能不可用 · 标记 "需要登录查看" 的内容当时仅对注册用户开放

求组,用XSLT写XML的样式表~(如下图)

发表于 2009-5-26 09:40 · 作者 wjj628511 · 752 次查看
wjj628511 发表于 2009-5-26 09:40
XML代码:
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="XSLTFile1.xsl"?>
<survey name = "Example Survey">
  <question type = "text" name = "Name" />
  <question type = "text" name = "Industry" />
  <question type = "radio" name ="Education">
    <choice value = "Junior High School"/>
  <choice value = "High school" />
  <choice value = "University" />
  </question>
  <question type = "dropdownlist" name = "Income">
   <select value = "less than 1000" />
   <select value = "between 1000 and 2000" />
   <select value = "more than 2000" />
  </question>
</survey>