[求助]xsl实现样式问题
我的xml中的内容为:<BR><?xml version="1.0" encoding="utf-16" standalone="yes"?><BR><Goodo><BR> <Record SpecialSet_ID="2" SpecialSetName="电脑1" total="2"><BR> <ItemRecord User_ID="4" UserName="教师001" total="1" /><BR> <ItemRecord User_ID="5" UserName="教师002" total="0" /><BR> <ItemRecord User_ID="7" UserName="职工001" total="1" /><BR> <ItemRecord User_ID="8" UserName="职工002" total="0" /><BR> </Record><BR> <Record SpecialSet_ID="1" SpecialSetName="电脑实验室1" total="3"><BR> <ItemRecord User_ID="4" UserName="教师001" total="0" /><BR> <ItemRecord User_ID="5" UserName="教师002" total="0" /><BR> <ItemRecord User_ID="7" UserName="职工001" total="0" /><BR> <ItemRecord User_ID="8" UserName="职工002" total="3" /><BR> </Record><BR> <Record SpecialSet_ID="4" SpecialSetName="化学实验室" total="1"><BR> <ItemRecord User_ID="4" UserName="教师001" total="0" /><BR> <ItemRecord User_ID="5" UserName="教师002" total="0" /><BR> <ItemRecord User_ID="7" UserName="职工001" total="1" /><BR> <ItemRecord User_ID="8" UserName="职工002" total="0" /><BR> </Record><BR> <Record SpecialSet_ID="3" SpecialSetName="物理实验室" total="1"><BR> <ItemRecord User_ID="4" UserName="教师001" total="0" /><BR> <ItemRecord User_ID="5" UserName="教师002" total="1" /><BR> <ItemRecord User_ID="7" UserName="职工001" total="0" /><BR> <ItemRecord User_ID="8" UserName="职工002" total="0" /><BR> </Record><BR></Goodo><BR>如何利用xsl实现样式为如下的:这个xsl如何写,请高手帮帮忙,急啊<TABLE width="100%" border=1>
<TR>
<TD>教师/物件名称</TD>
<TD>电脑1</TD>
<TD>电脑实验室1</TD>
<TD>物理实验室</TD>
<TD>化学实验室</TD></TR>
<TR>
<TD>教师001</TD>
<TD>1</TD>
<TD>0</TD>
<TD>0</TD>
<TD>0</TD></TR>
<TR>
<TD>教师002</TD>
<TD>0</TD>
<TD>0</TD>
<TD>0</TD>
<TD>1</TD></TR>
<TR>
<TD>职工001</TD>
<TD>1</TD>
<TD>0</TD>
<TD>1</TD>
<TD>0</TD></TR>
<TR>
<TD>职工002</TD>
<TD>0</TD>
<TD>3</TD>
<TD>0</TD>
<TD>0</TD></TR>
<TR>
<TD>合计</TD>
<TD>2</TD>
<TD>3</TD>
<TD>1</TD>
<TD>1</TD></TR></TABLE>
[讨论]
[em04]太废时间了你可以参考一下这个发过的例子有问题在留言[attach]15272[/attach]<BR>页:
[1]
