使用XSLT返回的元素更改组的顺序

时间:2011-11-17 20:58:04

标签: group-by xslt-1.0

这是对此链接中提到的问题的补充

xsl 1.0 Group by with comma separated items

我们现在应用XSLT时的输出显示了这个

<div id="#sol1">
customer a , summary a
customer b , summary b
</div>
<div id="#sol2">
customer a , summary a
customer c , summary c
</div>
<div id="#sol3">
customer c , summary c
</div>

现在,如果我希望输出看起来像下面那个在XSLT中应该更改的内容?

<div id="#sol3"> 
    customer c , summary c 
 </div>

 <div id="#sol1"> 
   customer a , summary a
   customer b , summary b
 </div>

 <div id="#sol2"> 
   customer a , summary a 
   customer c , summary c
  </div>

0 个答案:

没有答案