急,关于XSL分页得问题!!!!!!!!
我有下面得XML文件,请问我怎么通过xsl对里面得star/specials/special节点进行分页,并且每行显示两个,而且相邻的两行背景颜色不同,希望大伙帮帮忙,急死我了
<?xml version="1.0" encoding="gb2312" ?>
- <star>
- <info>
<kind_id>1</kind_id>
<kind_name>中国星</kind_name>
</info>
- <specials>
- <special>
<id>78</id>
<name>Twins《少女情怀》写真(二)</name>
<photo>0101.jpg</photo>
<cent>100</cent>
<photodb>78</photodb>
<date>2004-4-22 15:55:14</date>
</special>
- <special>
<id>103</id>
<name>Twins</name>
<photo>0655.jpg</photo>
<cent>100</cent>
<photodb>59</photodb>
<date>2003-1-20 10:22:41</date>
</special>
- <special>
<id>419</id>
<name>Twins《少女情怀》写真(一)</name>
<photo>1187.jpg</photo>
<cent>100</cent>
<photodb>75</photodb>
<date>2002-10-25 12:56:40</date>
</special>
- <special>
<id>78</id>
<name>Twins《少女情怀》写真(二)</name>
<photo>0101.jpg</photo>
<cent>100</cent>
<photodb>78</photodb>
<date>2004-4-22 15:55:14</date>
</special>
- <special>
<id>103</id>
<name>Twins</name>
<photo>0655.jpg</photo>
<cent>100</cent>
<photodb>59</photodb>
<date>2003-1-20 10:22:41</date>
</special>
- <special>
<id>419</id>
<name>Twins《少女情怀》写真(一)</name>
<photo>1187.jpg</photo>
<cent>100</cent>
<photodb>75</photodb>
<date>2002-10-25 12:56:40</date>
</special>
- <special>
<id>78</id>
<name>Twins《少女情怀》写真(二)</name>
<photo>0101.jpg</photo>
<cent>100</cent>
<photodb>78</photodb>
<date>2004-4-22 15:55:14</date>
</special>
- <special>
<id>103</id>
<name>Twins</name>
<photo>0655.jpg</photo>
<cent>100</cent>
<photodb>59</photodb>
<date>2003-1-20 10:22:41</date>
</special>
- <special>
<id>419</id>
<name>Twins《少女情怀》写真(一)</name>
<photo>1187.jpg</photo>
<cent>100</cent>
<photodb>75</photodb>
<date>2002-10-25 12:56:40</date>
</special>
- <special>
<id>78</id>
<name>Twins《少女情怀》写真(二)</name>
<photo>0101.jpg</photo>
<cent>100</cent>
<photodb>78</photodb>
<date>2004-4-22 15:55:14</date>
</special>
- <special>
<id>103</id>
<name>Twins</name>
<photo>0655.jpg</photo>
<cent>100</cent>
<photodb>59</photodb>
<date>2003-1-20 10:22:41</date>
</special>
- <special>
<id>419</id>
<name>Twins《少女情怀》写真(一)</name>
<photo>1187.jpg</photo>
<cent>100</cent>
<photodb>75</photodb>
<date>2002-10-25 12:56:40</date>
</special>
- <special>
<id>78</id>
<name>Twins《少女情怀》写真(二)</name>
<photo>0101.jpg</photo>
<cent>100</cent>
<photodb>78</photodb>
<date>2004-4-22 15:55:14</date>
</special>
- <special>
<id>103</id>
<name>Twins</name>
<photo>0655.jpg</photo>
<cent>100</cent>
<photodb>59</photodb>
<date>2003-1-20 10:22:41</date>
</special>
- <special>
<id>419</id>
<name>Twins《少女情怀》写真(一)</name>
<photo>1187.jpg</photo>
<cent>100</cent>
<photodb>75</photodb>
<date>2002-10-25 12:56:40</date>
</special>
- <special>
<id>78</id>
<name>Twins《少女情怀》写真(二)</name>
<photo>0101.jpg</photo>
<cent>100</cent>
<photodb>78</photodb>
<date>2004-4-22 15:55:14</date>
</special>
- <special>
<id>103</id>
<name>Twins</name>
<photo>0655.jpg</photo>
<cent>100</cent>
<photodb>59</photodb>
<date>2003-1-20 10:22:41</date>
</special>
- <special>
<id>419</id>
<name>Twins《少女情怀》写真(一)</name>
<photo>1187.jpg</photo>
<cent>100</cent>
<photodb>75</photodb>
<date>2002-10-25 12:56:40</date>
</special>
</specials>
</star>