I've sent this one to a few other lists, I appologize if you are reading it
for the second time.
We have a search interface for brazilian medical journals and articles. All
the information on one particular author is contained in that authors's xml
file. Thus any one author xml file may contain several bibliographic
listings which will be diplayed when the users asks for published materials.
We are trying to display the record's position beside it's display, such
that each bibliographic citation will appear with a number like "1 of 5", "2
of 5" and so on.
I've figured out how to get a return for the number of nodes with the count
function but I can't figure out how to get each record to display the value
of it's position within the total. Below is an example of what I was
thinking but didn't work. I've been reading the w3 xpath papers but still
haven't found a solution.
Any repsonse is greatly appreciated.
Displaying: <xsl:value-of select="format
<xsl:value-of select="format-number(count(AUTHORFILE/BIBLIOGRAPHY), '0')"