Subject:How do you create a record increment tag Author:Bob Chauvin Date:25 Jan 2010 04:32 PM
You can use <xsl:value-of select="position()"/> for you current record in the process. Perhaps a select="count(nodeset)" for the total, or just use the final value of position().
>i need a tag to
>count/increment records as the
>are being converted with a
>total count at the end. please
>see example;
>
><patientrecords>
><patientrecord id="1">
><pat_name>Sample,
>Babyboy</pat_name>
><pat_address>123 Main
>st.</pat_address>
>.ect
></patientrecord>
>
><patientrecord id="2">
><pat_name>Sample,
>Babyboy</pat_name>
><pat_address>123 Main
>st.</pat_address>
>.ect
></patientrecord>
>
></patientrecords>
><trailer>
><total_records>2</tot
>al_records>
></trailer>
SS2007r2 Build: 894m