Re: counting elements
Subject: Re: counting elements|
From: "Steve Muench" <SMUENCH@xxxxxxxxxxxxx>
Date: 30 Jun 1999 13:20:59 -0700
If the current context is right, then you can simply do:
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
--- 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.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
--- End Message ---