If the current context is right, then you can simply do:
<xsl:value-of select="count(person)"/>
or you might have to augment the "person" pattern
to fit your situation...
_________________________________________________________
Steve Muench, Consulting Product Manager & XML Evangelist
Business Components for Java Dev't Team
http://www.oracle.com/xml
--- Begin Message ---
It seems like a basic question, but I can't find an answer
in the spec: how do I insert an element count into a document.
For instance, I have an xml file that lists people; I want to
be able to count how many <person></person> records are in
the file and output a total.
Thanks,
Chris
--
chris_conway@xxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
--- End Message ---