开发者

How to create table in xlst

开发者 https://www.devze.com 2023-02-15 09:55 出处:网络
I have table SymbolYEARPeriod ______1_________|_____2011____|____1____| ______2_________|_____2011____|____2____|

I have table

   Symbol             YEAR      Period
______1_________|_____2011____|____1____|
______2_________|_____2011____|____2____|
______3_________|_____2012____|____1____|
______4_________|_____2012____|____2____|
______1_________|_____2013____|____1____|
______2_________|_____2013____|____2____|
______3_________|_____2014____|____1____|
______4_________|_____2014____|____2____|
     ...          ...         ...
     ...          ...         ...
     ...          ...         ...
______1_________|_____2017____|____1____|
______2_________|_____2017____|____2____|
______3_________|_____2018____|____1____|
______4_________|_____2018____|____2____|

Field "Symbol" are in xml document. I should to identify Year and period from Symbol field. This y开发者_StackOverflowear (2011) symbols 1,2 describe the current year, the next year(2012)symbols 1,2 will describe 2013 years and etc.. by analogy with 3,4 symbols describes 2012, 2014, 2016, 2018 ...

Should I create matrix table, for example like date.add.template or maybe can I calculate it, without template?

Best regards


You could try to create table like this http://www.w3schools.com

More informaiton can be found here

0

精彩评论

暂无评论...
验证码 换一张
取 消