[xsl] traversing the document twice for different tasks

Subject: [xsl] traversing the document twice for different tasks
From: Jayaranga Subasinghe <jayarangas@xxxxxxxxxxxxx>
Date: Wed, 13 Jun 2001 12:40:08 +0600
hello,
I want to traverse through an existing xml document twice;
during one traversal i need to get the maximum count of the node.
and during the other traversal i need to output the results, which has the
heading lines as the maximum counted nodes.

eg:

if the xml contain personal information and one may have several children.
the colomn heading 'chikdren' hane to be printed in the output document as
same as the maximum number of children that a person have.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread