| <?xml version="1.0"?> |
| <doc> |
| <ref>Citation before first chapter</ref> |
| <chapter> |
| <note>aaa</note> |
| <ref>Citation 1 in first chapter</ref> |
| <note>bbb</note> |
| <note>ccc</note> |
| <note>ddd</note> |
| <ref>Citation 2 in first chapter</ref> |
| <note>eee</note> |
| <ref>Citation 3 in first chapter</ref> |
| </chapter> |
| <note>fff</note> |
| <note>ggg</note> |
| <note>hhh</note> |
| <ref>Citation between chapters</ref> |
| <chapter> |
| <note>iii</note> |
| <note>jjj</note> |
| <note>kkk</note> |
| <ref>Citation 1 in second chapter</ref> |
| <ref>Citation 2 in second chapter</ref> |
| </chapter> |
| <ref>Citation after last chapter</ref> |
| </doc> |