# Reordered cs:info elements

**URL:** https://discourse.citationstyles.org/t/reordered-cs-info-elements/1132
**Category:** CSL Development
**Created:** [September 28, 2012, 2:29am UTC](https://discourse.citationstyles.org/t/reordered-cs-info-elements/1132 "2012-09-28T02:29:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Rintze\_Zelle](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.citationstyles.org/rintze_zelle/32/175_2.png) [@Rintze\_Zelle](https://discourse.citationstyles.org/u/Rintze_Zelle)
#### Post date: [September 28, 2012, 2:29am UTC](https://discourse.citationstyles.org/t/reordered-cs-info-elements/1132/1 "2012-09-28T02:29:33Z")

</div>

Hi all,

I reordered the contents of the cs:info section of all CSL styles for  
consistency.

commit: [https://github.com/citation-style-language/styles/commit/27041e51af15bbf7d0607c8050b4e0e200b76fe4](https://github.com/citation-style-language/styles/commit/27041e51af15bbf7d0607c8050b4e0e200b76fe4)  
script: [https://github.com/citation-style-language/utilities/blob/master/csl-reorder-info2.py](https://github.com/citation-style-language/utilities/blob/master/csl-reorder-info2.py)  
previous discussion on this topic:  
[https://github.com/citation-style-language/styles/commit/3e6130409e912eecfcf6a876bc5c8bd5c53194ad#commitcomment-1586702](https://github.com/citation-style-language/styles/commit/3e6130409e912eecfcf6a876bc5c8bd5c53194ad#commitcomment-1586702)

The used order is:

##0 preceding-comment  
##1 title  
##2 title-short  
##3 id  
##4 link self  
##5 link independent-parent  
##6 link template  
##7 link doc  
##8 author  
##9 contributor  
##10 category citation-format  
##11 category field  
##12 issn  
##13 eissn  
##14 issnl  
##15 summary  
##16 published  
##17 updated  
##18 rights  
##19 end-comment

I didn’t check all styles by eye, so if anybody spots something weird,  
let me know.

Rintze

---

<div class="post-metadata">

### Author: ![Charles\_Parnot](https://avatars.discourse-cdn.com/v4/letter/c/57b2e6/32.png) [@Charles\_Parnot](https://discourse.citationstyles.org/u/Charles_Parnot)
#### Post date: [September 28, 2012, 7:33am UTC](https://discourse.citationstyles.org/t/reordered-cs-info-elements/1132/2 "2012-09-28T07:33:29Z")

</div>

Awesome!

---

<div class="post-metadata">

### Author: ![Rintze\_Zelle](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.citationstyles.org/rintze_zelle/32/175_2.png) [@Rintze\_Zelle](https://discourse.citationstyles.org/u/Rintze_Zelle)
#### Post date: [September 28, 2012, 11:15am UTC](https://discourse.citationstyles.org/t/reordered-cs-info-elements/1132/3 "2012-09-28T11:15:38Z")

</div>

Also, the main reason for not using XSLT was that I had some trouble  
handling XML comments. With the Python script, XML comments that come  
at the start before any XML element are kept at the front. A trailing  
XML comment is kept at the end. Other XML comments move together with  
the preceding XML element.

Rintze
