Greetings,
I'm
trying to create a field that will increase by 1 for every fourth
record, ordered by \CommlVeh\ItemIdInfo\SystemId (We print 4 records
per page) The records may be in random order and there may be missing
id's in the list.
So that my output would be similar to:
<Vehicle systemId="1" pageNum="1">
<Vehicle systemId="2" pageNum="1">
<Vehicle systemId="3" pageNum="1">
<Vehicle systemId="4" pageNum="1">
<Vehicle systemId="5" pageNum="2">
<Vehicle systemId="6" pageNum="2">
Data Sample:
<CommlVeh id="207507" LocationRef="219009">
<ItemIdInfo>
<SystemId>1</SystemId>
</ItemIdInfo>
<Manufacturer>Make</Manufacturer>
<Model>Model</Model>
<ModelYear>2001</ModelYear>
<VehBodyTypeCd>BType</VehBodyTypeCd>
<TerritoryCd>124</TerritoryCd>
<VehIdentificationNumber>111111</VehIdentificationNumber>
</CommlVeh>
<CommlVeh id="207509" LocationRef="219011">
<ItemIdInfo>
<SystemId>3</SystemId>
</ItemIdInfo>
<Manufacturer>Make</Manufacturer>
<Model>Model</Model>
<ModelYear>2001</ModelYear>
<VehBodyTypeCd>BType</VehBodyTypeCd>
<TerritoryCd>124</TerritoryCd>
<VehIdentificationNumber>33333</VehIdentificationNumber>
</CommlVeh>
<CommlVeh id="207510" LocationRef="219013">
<ItemIdInfo>
<SystemId>5</SystemId>
</ItemIdInfo>
<Manufacturer>Make</Manufacturer>
<Model>Model</Model>
<ModelYear>2001</ModelYear>
<VehBodyTypeCd>BType</VehBodyTypeCd>
<TerritoryCd>124</TerritoryCd>
<VehIdentificationNumber>5555</VehIdentificationNumber>
</CommlVeh>
<CommlVeh id="207512" LocationRef="219012">
<ItemIdInfo>
<SystemId>4</SystemId>
</ItemIdInfo>
<Manufacturer>Make</Manufacturer>
<Model>Model</Model>
<ModelYear>2001</ModelYear>
<VehBodyTypeCd>BType</VehBodyTypeCd>
<TerritoryCd>124</TerritoryCd>
<VehIdentificationNumber>444444</VehIdentificationNumber>
</CommlVeh>
<CommlVeh id="207508" LocationRef="219010">
<ItemIdInfo>
<SystemId>2</SystemId>
</ItemIdInfo>
<Manufacturer>Make</Manufacturer>
<Model>Model</Model>
<ModelYear>2001</ModelYear>
<VehBodyTypeCd>BType</VehBodyTypeCd>
<TerritoryCd>124</TerritoryCd>
<VehIdentificationNumber>22222</VehIdentificationNumber>
</CommlVeh>
<CommlVeh id="207511" LocationRef="219014">
<ItemIdInfo>
<SystemId>6</SystemId>
</ItemIdInfo>
<Manufacturer>Make</Manufacturer>
<Model>Model</Model>
<ModelYear>2001</ModelYear>
<VehBodyTypeCd>BType</VehBodyTypeCd>
<TerritoryCd>124</TerritoryCd>
<VehIdentificationNumber>600007777</VehIdentificationNumber>
</CommlVeh>
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--