首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > XML SOAP >

关于xml表格生成有关问题!

2012-03-11 
关于xml表格生成问题!!!!?xmlversion 1.0 ?unitsunitunitCode FIT2028 /unitCodeunitLeader

关于xml表格生成问题!!!!
<?xml   version= "1.0 "?>
<units>
<unit>
<unitCode> FIT2028 </unitCode>
<unitLeader> Janet   Fraser </unitLeader>
<class   tutorialNo= "t1 "   average= "a ">
<tutor> Janet   Fraser </tutor>
<tutor> Christine   Clemence </tutor>
<timetable>
<day> Wednesday </day>
<time> 14:00:00 </time>
<room> G3.18 </room>
</timetable>
<studentMarks>
<student   id= "s12233441 ">
<firstname> Bilbo </firstname>
<surname> Baggins </surname>
<assignments>
<assignment   assNo= "1 "> 80 </assignment>
<assignment   assNo= "2 "> 90 </assignment>
<unitTest> 75 </unitTest>
</assignments>
</student>
<student   id= "s12233442 ">
<firstname> Frodo </firstname>
<surname> Baggins </surname>
<assignments>
<assignment   assNo= "1 "> 69 </assignment>
<assignment   assNo= "2 "> 55 </assignment>
<unitTest> 80 </unitTest>
</assignments>
</student>
<student   id= "s12233443 ">
<firstname> Fred </firstname>
<surname> Flintstone </surname>
<assignments>
<assignment   assNo= "1 "> 86 </assignment>
<assignment   assNo= "2 "> 73 </assignment>
<unitTest> 90 </unitTest>
</assignments>
</student>
<student   id= "s12233444 ">
<firstname> Peter </firstname>
<surname> Pan </surname>
<assignments>
<assignment   assNo= "1 "> 45 </assignment>
<assignment   assNo= "2 "> 40 </assignment>
<unitTest> 50 </unitTest>
</assignments>
</student>
<student   id= "s22113344 ">
<firstname> Fred </firstname>
<surname> Bloggs </surname>
<assignments>
<assignment   assNo= "1 "> 51 </assignment>
<assignment   assNo= "2 "> 55 </assignment>
<unitTest> 50 </unitTest>
<lateAssignment>
<assNo> 2 </assNo>
<penalty> 10 </penalty>
</lateAssignment>
</assignments>
</student>
</studentMarks>
</class>
<class   tutorialNo= "t2 "   average= "a ">
<tutor> Des   Casey </tutor>
<tutor> Janet   Fraser </tutor>
<timetable>
<day> Wednesday </day>
<time> 16:00:00 </time>
<room> G3.08 </room>
</timetable>
<studentMarks>
<student   id= "s11223344 ">
<firstname> Sylvester </firstname>
<surname> Stallone </surname>
<assignments>
<assignment   assNo= "1 "> 0 </assignment>


<assignment   assNo= "2 "> 75 </assignment>
<unitTest> 0 </unitTest>
</assignments>
</student>
<student   id= "s23344552 ">
<firstname> Merriadoc </firstname>
<surname> Brandybuck </surname>
<assignments>
<assignment   assNo= "1 "> 0 </assignment>
<assignment   assNo= "2 "> 55 </assignment>
<unitTest> 45 </unitTest>
</assignments>
</student>
<student   id= "s23344553 ">
<firstname> Peregrin </firstname>
<surname> Took </surname>
<assignments>
<assignment   assNo= "1 "> 45 </assignment>
<assignment   assNo= "2 "> 55 </assignment>
<unitTest> 50 </unitTest>
</assignments>
</student>
<student   id= "s23344554 ">
<firstname> Ethan </firstname>
<surname> Hunt </surname>
<assignments>
<assignment   assNo= "1 "> 90 </assignment>
<assignment   assNo= "2 "> 80 </assignment>
<unitTest> 90 </unitTest>
<lateAssignment>
<assNo> 1 </assNo>
<penalty> 20 </penalty>
</lateAssignment>
</assignments>
</student>
<student   id= "s44223355 ">
<firstname> Arthur </firstname>
<surname> King </surname>
<assignments>
<assignment   assNo= "1 "> 85 </assignment>
<assignment   assNo= "2 "> 91 </assignment>
<unitTest> 87 </unitTest>
</assignments>
</student>
<student   id= "s55441122 ">
<firstname> Sean </firstname>
<surname> Bean </surname>
<assignments>
<assignment   assNo= "1 "> 79 </assignment>
<assignment   assNo= "2 "> 82 </assignment>
<unitTest> 82 </unitTest>
</assignments>
</student>
</studentMarks>
</class>
<class   tutorialNo= "t3 "   average= "a ">
<tutor> Janet   Fraser </tutor>
<timetable>
<day> Friday </day>
<time> 09:00:00 </time>
<room> G3.18 </room>
</timetable>
<studentMarks>
<student   id= "s99887766 ">
<firstname> Ben </firstname>
<surname> Cousins </surname>
<assignments>
<assignment   assNo= "1 "> 55 </assignment>
<assignment   assNo= "2 "> 45 </assignment>
<unitTest> 0 </unitTest>
</assignments>
</student>
<student   id= "s88995544 ">
<firstname> Kelly </firstname>
<surname> Osbourne </surname>
<assignments>
<assignment   assNo= "1 "> 83 </assignment>


<assignment   assNo= "2 "> 90 </assignment>
<unitTest> 82 </unitTest>
</assignments>
</student>
<student   id= "s77669911 ">
<firstname> Michael </firstname>
<surname> Long </surname>
<assignments>
<assignment   assNo= "1 "> 75 </assignment>
<assignment   assNo= "2 "> 75 </assignment>
<unitTest> 75 </unitTest>
<lateAssignment>
<assNo> 2 </assNo>
<penalty> 20 </penalty>
</lateAssignment>
</assignments>
</student>
</studentMarks>
</class>
</unit>
<unit>
<unitCode> FIT3043 </unitCode>
<unitLeader> Des   Casey </unitLeader>
<class   tutorialNo= "t1 ">
<tutor> Christine   Clemence </tutor>
<timetable>
<day> Monday </day>
<time> 13:00:00 </time>
<room> G3.08 </room>
</timetable>
<studentMarks>
<student   id= "s23344554 ">
<firstname> Ethan </firstname>
<surname> Hunt </surname>
<assignments>
<assignment   assNo= "1 "> 65 </assignment>
<assignment   assNo= "2 "> 90 </assignment>
<unitTest> 55 </unitTest>
</assignments>
</student>
<student   id= "s44223355 ">
<firstname> Arthur </firstname>
<surname> King </surname>
<assignments>
<assignment   assNo= "1 "> 81 </assignment>
<assignment   assNo= "2 "> 79 </assignment>
<unitTest> 80 </unitTest>
</assignments>
</student>
<student   id= "s12233444 ">
<firstname> Peter </firstname>
<surname> Pan </surname>
<assignments>
<assignment   assNo= "1 "> 69 </assignment>
<assignment   assNo= "2 "> 55 </assignment>
<unitTest> 80 </unitTest>
<lateAssignment>
<assNo> 2 </assNo>
<penalty> 10 </penalty>
</lateAssignment>
</assignments>
</student>
<student   id= "s12233443 ">
<firstname> Fred </firstname>
<surname> Flintstone </surname>
<assignments>
<assignment   assNo= "1 "> 86 </assignment>
<assignment   assNo= "2 "> 73 </assignment>
<unitTest> 90 </unitTest>
<lateAssignment>
<assNo> 1 </assNo>
<penalty> 10 </penalty>
</lateAssignment>
<lateAssignment>
<assNo> 2 </assNo>
<penalty> 20 </penalty>
</lateAssignment>
</assignments>
</student>
<student   id= "s12233441 ">
<firstname> Bilbo </firstname>


<surname> Baggins </surname>
<assignments>
<assignment   assNo= "1 "> 45 </assignment>
<assignment   assNo= "2 "> 40 </assignment>
<unitTest> 50 </unitTest>
</assignments>
</student>
</studentMarks>
</class>

</unit>
</units>

[解决办法]
最好先把你的XSLT帖出来
[解决办法]
没明白楼主想要的是什么? 逻辑规则

热点排行