I notice that when generatin the XML for CD 1 of a multiple part CD set (2 CD, 3 CD, 4 CDs, etc.) the next-volume-use-lid2 is not included. I think only the last CD of the set is not suppose to have this line in it's xml file. Below is the section I am talking about.

CD 1: the next-volume-use-lid2 line is not included.

<info>
<album-id>TEST</album-id>
<volume-count>4</volume-count>
<volume-number>1</volume-number>
<restriction>0</restriction>
</info>

CD 2: the next-volume-use-lid2 line is included.

<info>
<album-id>TEST</album-id>
<volume-count>4</volume-count>
<volume-number>2</volume-number>
<next-volume-use-lid2/>
<restriction>0</restriction>
</info>

I think CD 1 is the only one that has this problem.